Skip to content

Commit b1759ef

Browse files
authored
Use pull_request_target trigger in test pipeline (#140)
Other than the pull_request trigger, the pull_request_target runs against the workflow version of the target branch and grants the workflow access to secrets, which we need in our test runs.
1 parent 846f0de commit b1759ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
pull_request:
7+
pull_request_target:
88
types: [opened, synchronize, reopened]
99

1010
jobs:

0 commit comments

Comments
 (0)