ci: Fix checkout failure in pull_request_target workflows#6624
Open
ntkathole wants to merge 1 commit into
Open
ci: Fix checkout failure in pull_request_target workflows#6624ntkathole wants to merge 1 commit into
ntkathole wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6624 +/- ##
=======================================
Coverage 45.74% 45.75%
=======================================
Files 414 414
Lines 49698 49700 +2
Branches 7087 7087
=======================================
+ Hits 22736 22738 +2
Misses 25377 25377
Partials 1585 1585
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
actions/checkout v4.4.0 (released 2026-07-20) backported a security check that blocks checking out fork PR code in pull_request_target workflows by default. This broke pr-integration-tests and pr-registration-integration-tests for all fork PRs. Add allow-unsafe-pr-checkout: true to the 4 affected checkout steps. This is safe because both workflows already gate execution behind maintainer-applied labels (ok-to-test / approved / lgtm) and set persist-credentials: false. Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
ntkathole
force-pushed
the
fix/allow-unsafe-pr-checkout
branch
from
July 23, 2026 10:11
c865fb7 to
27b7e7a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Problem
actions/checkoutv4.4.0(released 2026-07-20) backported a security check from v7 that blocks checking out
fork PR code in
pull_request_targetworkflows by default. This broke all fork PRsthat trigger:
pr-integration-testspr-registration-integration-testsError:
See: https://github.blog/changelog/2026-06-18-safer-pull_request_target-defaults-for-github-actions-checkout/
Fix
Add
allow-unsafe-pr-checkout: trueto the 4 affected checkout steps across 2 workflow files.Why this is safe
Both workflows already implement the recommended mitigations:
ok-to-test,approved, orlgtmpersist-credentials: false— PR code cannot steal the GITHUB_TOKENgithub.repository == 'feast-dev/feast'prevents forks from self-triggering