Allow unsafe PR checkout on the integ and code review workflows. - #645
Allow unsafe PR checkout on the integ and code review workflows.#645simonmarty wants to merge 1 commit into
Conversation
|
Claude finished @simonmarty's task in 1m 35s —— View job Review: PR #645 — Allow unsafe PR checkout on integ and code review workflows
The change is small, correct, and consistent with the referenced upstream change (actions/checkout#2500). Both edits add Correctness
SecurityThis is the correct place to be cautious, and the existing gates are appropriately in place:
Both align with the stated rationale in the description. No new secret exposure is introduced by this change itself — it just re-enables behavior the checkout action recently began blocking by default. One thing worth confirming (not a blocker)
Nits
SummaryLGTM. The two-line change is minimal and correct, the flag name matches the upstream action's new input, and the pre-existing label/environment gates provide the necessary protection for checking out untrusted PR code under |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #645 +/- ##
=======================================
Coverage 60.97% 60.97%
=======================================
Files 11 11
Lines 720 720
=======================================
Hits 439 439
Misses 263 263
Partials 18 18 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Why is this change being made?
pull_request_targetto perform OIDC with AWS roles from the upstream repo.pull_request_targetbackportallow-unsafe-pr-checkoutto v6 actions/checkout#2500What is changing?
Related Links
Testing
How was this tested?
When testing locally, provide testing artifact(s):
Reviewee Checklist
Update the checklist after submitting the PR
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
If not, why:
Reviewer Checklist
All reviewers please ensure the following are true before reviewing:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.