Merge pull request #18 from trails-cool/fix-automerge-timing
This commit is contained in:
commit
9eee93b27b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/automerge.yml
vendored
5
.github/workflows/automerge.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue