Skip to content

operator elastic-cloud-eck (2.15.0) #1496

operator elastic-cloud-eck (2.15.0)

operator elastic-cloud-eck (2.15.0) #1496

name: Operator CI Labels
on:
pull_request_target:
types: [labeled]
env:
OPP_PRODUCTION_TYPE: "k8s"
jobs:
authorized-changes-handler:
runs-on: ubuntu-latest
if: github.event.pull_request.state == 'open' && github.event.action == 'labeled' && github.event.label.name == 'authorized-changes'
steps:
- name: Try to automerge
uses: actions/github-script@v6
continue-on-error: true
with:
github-token: ${{ secrets.FRAMEWORK_MERGE }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '/merge possible'
})