Skip to content

Commit 8699ab2

Browse files
ci: rename steps (#175)
Co-authored-by: Nikita Almanov <[email protected]>
1 parent 8587ca2 commit 8699ab2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Dependabot Auto Merge Pull Request
22

33
on:
44
pull_request_target:
5+
branches:
6+
- main
57

68
permissions:
79
contents: write
@@ -23,13 +25,13 @@ jobs:
2325
with:
2426
github-token: ${{ secrets.GITHUB_TOKEN }}
2527

26-
- name: Approve a Pull Request
28+
- name: Approve
2729
run: gh pr review --approve "$PR_URL"
2830
env:
2931
PR_URL: ${{ github.event.pull_request.html_url }}
3032
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3133

32-
- name: Enable Auto Merge for Dependabot Pull Requests
34+
- name: Auto Merge
3335
run: gh pr merge --auto --merge "$PR_URL"
3436
env:
3537
PR_URL: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)