Skip to content

Commit dbdbf51

Browse files
authored
ci(dependabot): GA merge PR action (#7102)
1 parent 2847fab commit dbdbf51

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Merge me!
2+
3+
on:
4+
pull_request_target:
5+
6+
jobs:
7+
merge-me:
8+
name: Merge me!
9+
if: github.actor == 'dependabot[bot]'
10+
runs-on: ubuntu-latest
11+
steps:
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: 180
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Merge me!
21+
if: steps.waitforstatuschecks.outputs.status == 'success'
22+
uses: ahmadnassri/action-dependabot-auto-merge@v2
23+
with:
24+
target: minor
25+
github-token: ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)