Conversation
This comment was marked as resolved.
This comment was marked as resolved.
2 tasks
This comment was marked as outdated.
This comment was marked as outdated.
b1cac47 to
4875e99
Compare
seanmcguire12
approved these changes
Mar 11, 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.
why
what changed
test plan
Summary by cubic
Adds two GitHub Actions that let maintainers claim external contributor PRs by mirroring the approved head SHA to a maintainer-owned branch so full CI can run with secrets. Claims come from an approving review by a team member with write access on the latest commit and are auto-invalidated on new commits (Linear STG-1518).
New Features
external-contributor,external-contributor:awaiting-approval,external-contributor:mirrored,external-contributor:stale,external-contributor:completed.external-contributor-pr-<PR#>-<12sha>, and creates/reopens a “[Claimed #X]” PR assigned to the approver.external-contributor-pr-approval-handoff.yml(captures approved reviews, uploads artifact) andexternal-contributor-pr.yml(consumes artifact, performs mirroring); usesactions/github-script@v7,actions/create-github-app-token@v1,actions/checkout@v4,actions/download-artifact@v4,actions/upload-artifact@v4; concurrency scoped per PR/workflow run.Migration
contents:write,pull_requests:write, andissues:write; addEXTERNAL_CONTRIBUTOR_PR_APP_IDandEXTERNAL_CONTRIBUTOR_PR_APP_PRIVATE_KEYsecrets.Written for commit 4875e99. Summary will update on new commits. Review in cubic