Commit 96026f7 1 parent d225844 commit 96026f7 Copy full SHA for 96026f7
File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Automerge Pull Requests
2
- on :
3
- pull_request :
4
- check_suite :
5
- types :
6
- - completed
7
- status : {}
2
+ on : [pull_request]
8
3
9
4
jobs :
10
5
automerge :
11
6
name : Automerge Dependabot
12
7
runs-on : ubuntu-latest
13
8
if : github.actor == 'dependabot[bot]'
14
9
steps :
10
+ - name : ' Wait for status checks'
11
+ id : waitforstatuschecks
12
+ uses : " WyriHaximus/github-action-wait-for-status@v2"
13
+ with :
14
+ ignoreActions : automerge
15
+ checkInterval : 13
16
+ env :
17
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
15
18
- name : Merge pull requests
16
19
uses : pascalgn/automerge-action@v0.8.4
20
+ if : steps.waitforstatuschecks.outputs.status == 'success'
17
21
env :
18
22
MERGE_METHOD : " squash"
19
23
MERGE_LABELS : " "
You can’t perform that action at this time.
0 commit comments