Skip to content

operator [CI] strimzi-kafka-operator #1520

operator [CI] strimzi-kafka-operator

operator [CI] strimzi-kafka-operator #1520

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'
})