Skip to content

Commit a87fc4e

Browse files
Use pull_request_target for merge-dependabot-pr.yml
Issue gh-14721
1 parent e7bff42 commit a87fc4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Merge Dependabot PR
22

3-
on:
4-
pull_request:
3+
on: pull_request_target
54

65
run-name: Merge Dependabot PR ${{ github.ref_name }}
76

@@ -17,6 +16,7 @@ jobs:
1716
- uses: actions/checkout@v4
1817
with:
1918
show-progress: false
19+
ref: ${{ github.event.pull_request.head.sha }}
2020

2121
- uses: actions/setup-java@v4
2222
with:

0 commit comments

Comments
 (0)