Skip to content

Commit 3d01193

Browse files
committed
build: ensure secrets are accessible when triggered from fork
1 parent cbbe271 commit 3d01193

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/lint_changed_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
push:
2525
branches:
2626
- develop
27-
pull_request:
27+
pull_request_target:
2828
types:
2929
- opened
3030
- synchronize

.github/workflows/run_affected_benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
# List paths for which changes should trigger this workflow:
2727
- 'lib/**/benchmark/**'
2828

29-
pull_request:
29+
pull_request_target:
3030
types:
3131
- opened
3232
- synchronize

.github/workflows/run_affected_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
- 'lib/**/examples/**'
2828
- 'lib/**/README.md'
2929

30-
pull_request:
30+
pull_request_target:
3131
types:
3232
- opened
3333
- synchronize

.github/workflows/run_affected_tests.yml

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

44-
pull_request:
44+
pull_request_target:
4545
types:
4646
- opened
4747
- synchronize

0 commit comments

Comments
 (0)