Revert "Add all recommended triggers to automerge action"
This reverts commit 5f353f6320.
This commit is contained in:
parent
5f353f6320
commit
f795406e77
1 changed files with 7 additions and 17 deletions
24
.github/workflows/automerge.yml
vendored
24
.github/workflows/automerge.yml
vendored
|
|
@ -1,23 +1,11 @@
|
|||
name: Automerge
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["CI"]
|
||||
types: [completed]
|
||||
pull_request:
|
||||
types:
|
||||
- labeled
|
||||
- unlabeled
|
||||
- synchronize
|
||||
- opened
|
||||
- edited
|
||||
- ready_for_review
|
||||
- reopened
|
||||
- unlocked
|
||||
pull_request_review:
|
||||
types:
|
||||
- submitted
|
||||
check_suite:
|
||||
types:
|
||||
- completed
|
||||
status: {}
|
||||
types: [labeled]
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
|
|
@ -26,7 +14,9 @@ jobs:
|
|||
automerge:
|
||||
name: Automerge PR
|
||||
runs-on: ubuntu-latest
|
||||
if: true
|
||||
if: >
|
||||
github.event_name == 'pull_request' ||
|
||||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue