Skip to content

Fix fork PR checkout in plugin submission detection - #414

Merged
KartikP merged 1 commit into
brain-score:mainfrom
hxu129:codex/fork-pr-checkout
Oct 5, 2026
Merged

KartikP merged 1 commit into
brain-score:mainfrom
hxu129:codex/fork-pr-checkout

Conversation

@hxu129

@hxu129 hxu129 commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Plugin Submission Orchestrator / 1. Detect Changes currently passes a fork PR's short head branch name to actions/checkout without setting the fork as the repository. Checkout then looks for that branch in brain-score/language and 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 ref in the detection job. For a pull_request event, checkout's documented default is the PR merge ref, which contains the submitted plugin; for the existing post-merge pull_request_target event, the default remains the trusted base repository. The other workflow jobs and fork guards are unchanged.

Checks

  • The workflow YAML parses and the diff passes git diff --check.
  • This is a one-line deletion. On this fork PR (Fix fork PR checkout in plugin submission detection #414), Detect Changes passed: checkout succeeded, the changed workflow file was detected, and the job reported is_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.

@KartikP KartikP self-assigned this Sep 29, 2026
@KartikP
KartikP merged commit 97a086a into brain-score:main Oct 5, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants