Repository navigation
fix(ci): register_submission fails on every fork PR (pull_request_target checkout guard) - #233
Closed
claytonlin1110 wants to merge 1 commit into
Closed
claytonlin1110 wants to merge 1 commit into
claytonlin1110 wants to merge 1 commit into
Conversation
pull_request_target labeling only needs the Pulls API; checking out fork heads trips the pwn-request guard and was failing every miner PR. Co-authored-by: Cursor <cursoragent@cursor.com>
1 of 4 tasks
This was referenced Jul 23, 2026
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.
Summary
register_submissionjob:actions/checkoutrefuses to check out fork code underpull_request_target(pwn-request guard). Examples: run #500 and run #501 on PR feat(optim): R8 training baselines (RS / SFT / REINFORCE) (#231) #232.allow-unsafe-pr-checkout: true.start_submission(maintainer-triggeredworkflow_dispatch) is untouched.Because
pull_request_targetruns the workflow definition from basemain, this fix must be merged before any fork PR'sregister_submissionjob can go green — it cannot fix itself from a PR branch.Test plan
register_submissionwas removedregister_submissionsucceeds on the next fork PR event (e.g. re-run on PR feat(optim): R8 training baselines (RS / SFT / REINFORCE) (#231) #232)