Skip to content

Commit 992c8c3

Browse files
committed
dependabot: merge needs strategy flag
1 parent 078ecf8 commit 992c8c3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/dependabot.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ jobs:
3535
with:
3636
github-token: "${{ secrets.GITHUB_TOKEN }}"
3737
- name: Auto-approve PR
38-
run: gh pr merge "$PR_URL"
38+
run: gh pr review --approve "$PR_URL"
39+
env:
40+
PR_URL: ${{ github.event.pull_request.html_url }}
41+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
- name: Merge PR
43+
run: gh pr merge --rebase "$PR_URL"
3944
env:
4045
PR_URL: ${{ github.event.pull_request.html_url }}
4146
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)