Skip to content

Commit 34e4686

Browse files
committed
Update auto-merge workflow
1 parent e21901a commit 34e4686

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: Auto-merge for Dependabot PRs
22

3-
on: pull_request_target
3+
on: pull_request
44

55
permissions:
6-
pull-requests: write
76
contents: write
87

98
jobs:
109
enable-auto-merge:
11-
if: ${{ github.actor == 'dependabot[bot]' }}
12-
name: Enable auto-merge for Dependabot PRs
1310
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
1412
steps:
1513
- name: Enable auto-merge
1614
run: gh pr merge --auto --rebase "$PR_URL"

0 commit comments

Comments
 (0)