Skip to content

Commit 3009d90

Browse files
committed
build: change trigger to ensure availability of environment vars
This PR changes the `pull_request` trigger of the workflow to `pull_request_target` to ensure that the environment variables are available in the workflow when run from forks. The permissions of the workflow are limited and we do not run workflows for untrusted pull requests, mitigating the security risk of this change.
1 parent fff6152 commit 3009d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run_tests_coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ on:
4343
# List paths for which changes should *not* trigger this workflow:
4444
- '!lib/**/_tools/**'
4545

46-
pull_request:
46+
pull_request_target:
4747
types:
4848
- opened
4949
- synchronize

0 commit comments

Comments
 (0)