Merge pull request #18 from trails-cool/fix-automerge-timing

This commit is contained in:
github-actions[bot] 2026-03-22 23:27:02 +00:00 committed by GitHub
commit 9eee93b27b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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