Merge pull request #22 from trails-cool/fix-automerge-triggers

This commit is contained in:
github-actions[bot] 2026-03-23 00:20:28 +00:00 committed by GitHub
commit ce0cd84562
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,11 +1,23 @@
name: Automerge
on:
workflow_run:
workflows: ["CI"]
types: [completed]
pull_request:
types: [labeled]
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
@ -14,9 +26,6 @@ jobs:
automerge:
name: Automerge PR
runs-on: ubuntu-latest
if: >
github.event_name == 'pull_request' ||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
permissions:
contents: write
pull-requests: write