Skip to content

Commit be8bc31

Browse files
committed
Switch to pull_request workflow trigger
We don't need workflows to run in context of main branch (i.e. pull_request_target trigger) since the workflows don't have access to any secrets. Using pull_request_target just makes it more tedious to test changes to the workflows.
1 parent 0f653f6 commit be8bc31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Test pull request
33

44
on:
5-
pull_request_target:
5+
pull_request:
66
types:
77
- opened
88
- synchronize

0 commit comments

Comments
 (0)