Skip to content

Commit 1e63b6e

Browse files
authored
Update Dependabot.yml
1 parent 587ac49 commit 1e63b6e

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/Dependabot.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
21
name: Dependabot update commit
32

43
on:
54
pull_request:
65
paths:
76
- 'Submodule/**'
8-
9-
jobs:
107

8+
permissions:
9+
pull-requests: write
10+
11+
jobs:
1112
Sync:
1213
if: github.actor == 'dependabot[bot]'
1314
strategy:
@@ -31,3 +32,10 @@ jobs:
3132
- run: touch Submodule
3233
- run: make install
3334
- run: git push
35+
- env:
36+
PR_URL: ${{github.event.pull_request.html_url}}
37+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
38+
run: |
39+
gh pr review --approve "$PR_URL"
40+
gh pr merge --auto --merge "$PR_URL"
41+

0 commit comments

Comments
 (0)