Skip to content

Commit 752d8b7

Browse files
alanchiaotensorflower-gardener
authored andcommitted
Update Github action to use pull_request_target from
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target. The existing behavior only triggered the action for PRs from the repo and not PRs from forks, which made its usefulness minimal. PiperOrigin-RevId: 325286854
1 parent a0ceed8 commit 752d8b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/labeler.yml

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

1515
name: "Pull Request Labeler"
1616
on:
17-
- pull_request
17+
- pull_request_target
1818

1919
jobs:
2020
triage:

0 commit comments

Comments
 (0)