Repository navigation
Fix fork PR checkout in plugin submission detection - #414
Merged
Merged
Conversation
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.
Problem
Plugin Submission Orchestrator / 1. Detect Changescurrently passes a fork PR's short head branch name toactions/checkoutwithout setting the fork as the repository. Checkout then looks for that branch inbrain-score/languageand fails before plugin detection. This blocks normal fork submissions such as #412 and #413 even though their independent plugin and integration checks pass.Change
Remove that explicit
refin the detection job. For apull_requestevent, checkout's documented default is the PR merge ref, which contains the submitted plugin; for the existing post-mergepull_request_targetevent, the default remains the trusted base repository. The other workflow jobs and fork guards are unchanged.Checks
git diff --check.Detect Changespassed: checkout succeeded, the changed workflow file was detected, and the job reportedis_fork_pr=true. The downstream website-submission jobs were correctly skipped. Independent integration, plugin unit-test, and documentation checks passed.After this lands, existing fork PRs will need a new workflow event to pick up the fixed base workflow. No scoring or model result is claimed by this workflow patch.