Skip to content

operator sn-operator (0.3.0-rc1) #1107

operator sn-operator (0.3.0-rc1)

operator sn-operator (0.3.0-rc1) #1107

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