Repository navigation
ci: local runners behind CI_RUNNER for the commit-message check - #284
Merged
Merged
Conversation
The job moves to the self-hosted orbyn-local runners only when the repository variable CI_RUNNER is 'local' and the pull request is not from a fork. With the variable unset nothing changes. The site job needs Docker, and the result job is the required aggregate, so both stay hosted.
Member
Author
|
Correction: the fork check in this change is a convenience, not a security boundary. On |
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.
What
runs-onfor the commit-message job is nowself-hosted, orbyn-localwhen the repository variableCI_RUNNERislocaland the PR is not from a fork; otherwiseubuntu-latest. The variable is unset, so nothing changes today.Moved (behind the variable)
commit-messages(Node and git only, no secrets, no Docker)Stayed hosted
site: runsdocker compose configanddocker build, which the runners cannot do (no Docker socket).result(CI result): the required aggregate; kept hosted so a runner outage can never leave the required check pending.cla.yml: usesCLA_SIGNATURES_TOKEN(secret).Runner image gaps
site).shellcheck(needed bysite).gitand Node are not installed byci-runner's Dockerfile (curl, jq, ca-certificates only);setup-nodefetches Node, butgitmust be present in the base image for the commit-message check. Not verified on a live runner.Test
CI_RUNNERunset: this PR's own checks run hosted. Not tested on a local runner.AI usage
Written with an AI coding assistant; reviewed by the owner session.