We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfdeb62 commit 92a0e33Copy full SHA for 92a0e33
1 file changed
.github/workflows/dependabot-automerge.yaml
@@ -1,5 +1,4 @@
1
-# Automatically merge Dependabot PRs upon approval by leaving
2
-# a comment on Dependabot's pull-request.
+# Automatically merge Dependabot PRs upon approval.
3
4
name: Automerge Dependabot PR
5
on:
@@ -10,12 +9,11 @@ permissions:
10
9
pull-requests: write
11
12
jobs:
13
- comment:
+ auto-merge:
14
if: ${{ github.event.review.state == 'approved' && github.event.pull_request.user.login == 'dependabot[bot]' }}
15
runs-on: ubuntu-latest
16
steps:
17
- name: Merge Dependabot PR
18
- run: gh pr comment --body "@dependabot squash and merge" "$PR_URL"
+ run: gh pr merge --squash --delete-branch
19
env:
20
- PR_URL: ${{ github.event.pull_request.html_url }}
21
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
0 commit comments