Skip to content

Commit f17bbd6

Browse files
authored
Merge branch 'main' into fastcsp_v2_release
2 parents 784e86b + 7a33f31 commit f17bbd6

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

.github/workflows/build_docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
github.event.pull_request.head.sha ||
4343
github.sha
4444
}}
45+
# Required since actions/checkout began refusing fork PR code in
46+
# workflow_run jobs. Safe here: fork PRs from all external
47+
# contributors require maintainer approval before this trusted,
48+
# secret-holding run can execute (repo Actions setting).
49+
# See https://gh.io/securely-using-pull_request_target
50+
allow-unsafe-pr-checkout: true
4551
# Optional: get full history if needed
4652
fetch-depth: 0
4753

@@ -99,4 +105,4 @@ jobs:
99105
if: always()
100106
uses: ./.github/actions/multi-trigger-cleanup
101107
with:
102-
status-context: '${{ github.job }}'
108+
status-context: '${{ github.job }}'

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ jobs:
7272
uses: actions/checkout@v7
7373
with:
7474
ref: ${{ env.HEAD_SHA }}
75+
# Required since actions/checkout began refusing fork PR code in
76+
# workflow_run jobs. Safe here: fork PRs from all external
77+
# contributors require maintainer approval before this trusted,
78+
# secret-holding run can execute (repo Actions setting).
79+
# See https://gh.io/securely-using-pull_request_target
80+
allow-unsafe-pr-checkout: true
7581
# Optional: get full history if needed
7682
fetch-depth: 0
7783

@@ -183,6 +189,9 @@ jobs:
183189
uses: actions/checkout@v7
184190
with:
185191
ref: ${{ env.HEAD_SHA }}
192+
# See the checkout step in the `test` job for why this is set
193+
# and why it is safe (external-contributor approval gate).
194+
allow-unsafe-pr-checkout: true
186195
fetch-depth: 0
187196

188197
- name: Setup
@@ -290,6 +299,12 @@ jobs:
290299
uses: actions/checkout@v7
291300
with:
292301
ref: ${{ env.HEAD_SHA }}
302+
# Required since actions/checkout began refusing fork PR code in
303+
# workflow_run jobs. Safe here: fork PRs from all external
304+
# contributors require maintainer approval before this trusted,
305+
# secret-holding run can execute (repo Actions setting).
306+
# See https://gh.io/securely-using-pull_request_target
307+
allow-unsafe-pr-checkout: true
293308
# Optional: get full history if needed
294309
fetch-depth: 0
295310

@@ -369,6 +384,9 @@ jobs:
369384
uses: actions/checkout@v7
370385
with:
371386
ref: ${{ env.HEAD_SHA }}
387+
# See the checkout step in the `test` job for why this is set
388+
# and why it is safe (external-contributor approval gate).
389+
allow-unsafe-pr-checkout: true
372390
fetch-depth: 0
373391

374392
- name: Setup
@@ -446,6 +464,12 @@ jobs:
446464
uses: actions/checkout@v7
447465
with:
448466
ref: ${{ env.HEAD_SHA }}
467+
# Required since actions/checkout began refusing fork PR code in
468+
# workflow_run jobs. Safe here: fork PRs from all external
469+
# contributors require maintainer approval before this trusted,
470+
# secret-holding run can execute (repo Actions setting).
471+
# See https://gh.io/securely-using-pull_request_target
472+
allow-unsafe-pr-checkout: true
449473
# Optional: get full history if needed
450474
fetch-depth: 0
451475

0 commit comments

Comments
 (0)