Skip to content

Commit

Permalink
Use pull_request_target trigger in test pipeline (#140)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Namoshek authored Jan 10, 2023
1 parent 846f0de commit b1759ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
pull_request:
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
Expand Down

0 comments on commit b1759ef

Please sign in to comment.