ci: checkout PR head on pull_request_target runs#620
ci: checkout PR head on pull_request_target runs#620davidnewhall merged 3 commits intoUnpackerr:mainfrom
Conversation
|
Quick follow-up on the current red checks on this PR: The failing run is So the current red status here is expected for this transition PR and does not invalidate the checkout-ref patch itself. Validation performed for this change:
Once this lands, subsequent |
|
Pushed a follow-up commit to make the checkout behavior explicit per event type. What changed:
This avoids expression fallback ambiguity and prevents lint/test jobs from silently checking out Validation:
|
|
Pushed a follow-up commit to address the failing
Validation run locally on this branch:
|
4c9e577 to
7bdf719
Compare
|
Thanks — I force-pushed an update to keep this PR strictly scoped to #620. What changed in this update:
Validation run:
|
|
Pushed follow-up commit What changed
Validation
Please re-run CI; this commit should clear the |
Summary
repositoryto PR head repo (fallback to current repo) incodetests.ymlrefto PR head SHA (fallback to current SHA)test-and-lintjobs so pull_request_target runs validate the actual PR branchTesting
python -c "import yaml; yaml.safe_load(open('.github/workflows/codetests.yml', 'r', encoding='utf-8'))"Related