File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 1
- name : Dependabot PR merge
1
+ name : Merge me!
2
2
3
- # read-write repo token
4
- # access to secrets
5
3
on :
6
- workflow_run :
7
- workflows : ["Node.js CI"]
8
- types :
9
- - completed
4
+ pull_request_target :
10
5
11
6
jobs :
12
7
merge-me :
13
8
name : Merge me!
14
9
if : github.actor == 'dependabot[bot]'
15
-
16
10
runs-on : ubuntu-latest
17
-
18
11
steps :
19
- - uses : actions/checkout@v2
20
- - uses : ahmadnassri/action-dependabot-auto-merge@v2
12
+ - name : ' Wait for status checks'
13
+ id : waitforstatuschecks
14
+ uses : WyriHaximus/github-action-wait-for-status@v1
15
+ with :
16
+ ignoreActions : Merge me!
17
+ checkInterval : 13
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ - name : Merge me!
21
+ if : steps.waitforstatuschecks.outputs.status == 'success'
22
+ uses : ridedott/merge-me-action@master
21
23
with :
22
- dependency_type : all
23
- target : minor
24
- github-token : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
25
- update_type : " semver:minor "
24
+ GITHUB_LOGIN : dependabot[bot]
25
+ GITHUB_TOKEN : ${{ secrets.MERGE_ME_GITHUB_TOKEN }}
26
+ MERGE_METHOD : SQUASH
27
+ PRESET : DEPENDABOT_MINOR
You can’t perform that action at this time.
0 commit comments