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
|
name: Automerge
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["CI"]
|
||||||
|
types: [completed]
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types: [labeled]
|
||||||
- labeled
|
|
||||||
- unlabeled
|
|
||||||
- synchronize
|
|
||||||
- opened
|
|
||||||
- edited
|
|
||||||
- ready_for_review
|
|
||||||
- reopened
|
|
||||||
- unlocked
|
|
||||||
pull_request_review:
|
|
||||||
types:
|
|
||||||
- submitted
|
|
||||||
check_suite:
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
status: {}
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||||
|
|
@ -26,7 +14,9 @@ jobs:
|
||||||
automerge:
|
automerge:
|
||||||
name: Automerge PR
|
name: Automerge PR
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: true
|
if: >
|
||||||
|
github.event_name == 'pull_request' ||
|
||||||
|
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success')
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue