Skip to content

Commit 02925aa

Browse files
authored
Simplify Dependabot auto-merge workflow
Removed approval step for Dependabot PRs and kept auto-merge.
1 parent dad53d7 commit 02925aa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: github.event.pull_request.user.login == 'dependabot[bot]'
1313
steps:
14-
- name: Approve Dependabot PR
15-
run: gh pr review --approve "$PR_URL"
16-
env:
17-
PR_URL: ${{github.event.pull_request.html_url}}
18-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1914
- name: Enable auto-merge for Dependabot PRs
2015
run: gh pr merge --auto --squash "$PR_URL"
2116
env:

0 commit comments

Comments
 (0)