Skip to content

Commit ed436bb

Browse files
authored
Update auto-merge-dependabot.yml
1 parent 21edcb4 commit ed436bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Auto Merge Dependabot PRs
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types:
66
- opened
77
- synchronize
@@ -17,6 +17,11 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v3
1919

20+
- name: Set up Node.js (required by `github-script`)
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: '16'
24+
2025
- name: Auto-approve Dependabot PRs
2126
if: success()
2227
uses: hmarr/auto-approve-action@v3

0 commit comments

Comments
 (0)