ci: adopt the public-repository runner posture - #202
Closed
kyle-sexton wants to merge 1 commit into
Closed
Conversation
The repository went public, and the runner policy component forbids the local-runner selector on public repositories (fork-PR exposure: workflow code from forks must never route to self-hosted workers). Declare visibility public with selfHostedCi false in .github/runner-policy.json, drop the now-unused publication exception (unconsumed once routing is disabled), remove every select-runner call, and pin all lanes to GitHub-hosted ubuntu-24.04 (free on public repositories). Co-authored-by: Claude Fable 5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Closing as already-landed: standards adopted the public hosted-runner posture in #200 (merged c1f8c34, includes all seven workflows + declaration) with the standards-sync contract follow-up in #201 (merged). Main already carries everything this PR proposes — a re-apply would conflict. If anything here is NOT in main (spotted a gap), please reopen scoped to just the delta. |
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
The repository is now public. The runner-policy component forbids the local-runner selector on public repositories, so the
Runner policycheck now fails on every PR (repository visibility evidence is public, but .github/runner-policy.json declares private), blocking #196 and everything after it..github/runner-policy.json:visibility: public,selfHostedCi: false(schema-forced pair); remove thepublish-packages.yml#publishpublication exception — it is unconsumed once routing is disabled and tripsexception-inventory-driftci,claude-review,do-not-merge,link-check,pr-issue-linkage,pr-title,sync): remove theselect-runnerjobs and route every lane to GitHub-hostedubuntu-24.04(free on public repositories); reviewed reusables keep an explicitrunner:input per the policy's runner-target contractVerified locally:
npm run lint:runner-policy(withCI_REPOSITORY_VISIBILITY=public),npm run test:runner-policy, andactionlintall pass.Security posture: fork PRs can no longer reach self-hosted workers by construction (no selector in any workflow); org fork-PR approval policy is
all_external_contributors.No linked issue
Related
🤖 Generated with Claude Code