Skip to content

Commit 6a60f8e

Browse files
authored
Switch to pull_request_target for the cherry picking workflows (#60231)
1 parent 1301d66 commit 6a60f8e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/cherry-pick-milestoned-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
name: Cherry-pick Milestoned PRs to Release Branches
66
on:
7-
pull_request:
7+
pull_request_target:
88
types: [closed, milestoned]
99
branches: [trunk]
1010

.github/workflows/cherry-pick-to-frozen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
name: Cherry-pick to Frozen Release
66
on:
7-
pull_request:
7+
pull_request_target:
88
types: [closed, labeled]
99
branches:
1010
- 'release/*'

.github/workflows/cherry-pick-to-trunk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow is used to cherry pick a PR from a release branch back to trunk.
22
name: Cherry Pick to Trunk
33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [closed, labeled]
66
branches:
77
- 'release/*'

0 commit comments

Comments
 (0)