Skip to content

Commit 0b67dab

Browse files
authored
dependabot: Auto-approve PRs (#86)
#### Problem Now that PRs require approval, dependabot PRs don't automatically merge. #### Summary of changes Add a step to approve the PR.
1 parent cfb5fe7 commit 0b67dab

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
@@ -15,3 +15,8 @@ jobs:
1515
env:
1616
PR_URL: ${{ github.event.pull_request.html_url }}
1717
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Approve
19+
run: gh pr review --approve "$PR_URL"
20+
env:
21+
PR_URL: ${{ github.event.pull_request.html_url }}
22+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)