We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8587ca2 commit 8699ab2Copy full SHA for 8699ab2
.github/workflows/dependabot-auto-merge-pull-request.yml
@@ -2,6 +2,8 @@ name: Dependabot Auto Merge Pull Request
2
3
on:
4
pull_request_target:
5
+ branches:
6
+ - main
7
8
permissions:
9
contents: write
@@ -23,13 +25,13 @@ jobs:
23
25
with:
24
26
github-token: ${{ secrets.GITHUB_TOKEN }}
27
- - name: Approve a Pull Request
28
+ - name: Approve
29
run: gh pr review --approve "$PR_URL"
30
env:
31
PR_URL: ${{ github.event.pull_request.html_url }}
32
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
- - name: Enable Auto Merge for Dependabot Pull Requests
34
+ - name: Auto Merge
35
run: gh pr merge --auto --merge "$PR_URL"
36
37
0 commit comments