Skip to content

Commit cc1ef71

Browse files
authored
Use pull_request_target in add_to_project.
Need to use pull_request_target to enable PRs access to Org secrets. See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
1 parent 777e6d3 commit cc1ef71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/add_to_project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types:
66
- opened
77

8-
pull_request:
8+
pull_request_target:
99
types:
1010
- opened
1111

0 commit comments

Comments
 (0)