Skip to content

Commit f53fea6

Browse files
authored
Update dependabot-auto-merge.yml
1 parent b2b5ddb commit f53fea6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'codama-idl/codama'
1212
steps:
13+
- name: Auto-approve the PR
14+
run: gh pr review --approve "$PR_URL"
15+
env:
16+
PR_URL: ${{ github.event.pull_request.html_url }}
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1318
- name: Enable auto-merge
1419
run: gh pr merge --auto --squash "$PR_URL"
1520
env:

0 commit comments

Comments
 (0)