Skip to content

[v8][cherry-pick] Fix(ci): allow checkout of gated PR head SHA under actions/checkout#3821

Open
prkalle wants to merge 1 commit into
cloudfoundry:v8from
prkalle:fix/checkout_pr_ref_v8
Open

[v8][cherry-pick] Fix(ci): allow checkout of gated PR head SHA under actions/checkout#3821
prkalle wants to merge 1 commit into
cloudfoundry:v8from
prkalle:fix/checkout_pr_ref_v8

Conversation

@prkalle

@prkalle prkalle commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Description of the Change

This PR is cherry-pick of #3820

This PR fixes CI for integration tests by allowing checkout of gated PR head SHA under actions/checkout

Why Is This PR Valuable?

Fixes CI

Applicable Issues

How Urgent Is The Change?

Fairly urgent to fix the CI

Other Relevant Parties

Who else is affected by the change?

@prkalle prkalle marked this pull request as draft July 11, 2026 00:29
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 11, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: prkalle / name: Prem Kumar Kalle (4cfb7f5)

actions/checkout v7 now refuses to check out a pull_request_target ref
other than the safe default, to block pwn-request attacks. Our checkouts
of needs.get-sha.outputs.gitRef / inputs.gitRef are already gated by
get-sha's author-association and safe-to-test label checks, so opt back
in with allow-unsafe-pr-checkout: true on those two steps.

Signed-off-by: Prem Kumar Kalle <prem.kalle@broadcom.com>
@prkalle prkalle force-pushed the fix/checkout_pr_ref_v8 branch from b2f299a to 4cfb7f5 Compare July 11, 2026 00:31
@prkalle prkalle marked this pull request as ready for review July 11, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant