diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 6fd21a9..14fe922 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,7 +1,8 @@ name: Automerge on: - check_suite: + workflow_run: + workflows: ["CI"] types: [completed] pull_request: types: [labeled] @@ -15,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: > github.event_name == 'pull_request' || - (github.event_name == 'check_suite' && github.event.check_suite.conclusion == 'success') + (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') permissions: contents: write pull-requests: write