Skip to content

chore(gatehouse): run guard on our runners in private repos - #162

Merged
fatherlinux merged 1 commit into
mainfrom
chore/guard-private-runner
Nov 18, 2026
Merged

fatherlinux merged 1 commit into
mainfrom
chore/guard-private-runner

Conversation

@fatherlinux

Copy link
Copy Markdown
Member

Changes only the guard job's runs-on in .github/workflows/gatehouse.yml, to the expression gatehouse#154 gives the review job:

runs-on: ${{ github.event.repository.private && vars.UNCACHED_RUNNER_LABEL || 'ubuntu-latest' }}

Private repos run "Protect workflows" on our runners, so they stop depending on GitHub Actions billing. Public repos stay on ubuntu-latest. The job name is unchanged, and so is the required check. Because pull_request_target runs the base branch's definition, this PR's own check still uses the old runner; the change takes effect after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R7Y1jeWKZVB8rtVJ3TZsRc

Same runs-on expression as the review job (gatehouse#154): private repos
run Protect workflows on vars.UNCACHED_RUNNER_LABEL, public repos stay on
ubuntu-latest. Job name unchanged, so the required check is too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R7Y1jeWKZVB8rtVJ3TZsRc

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gatehouse found no issues.

Full review.

@fatherlinux
fatherlinux merged commit 14641a2 into main Nov 18, 2026
9 checks passed
@fatherlinux
fatherlinux deleted the chore/guard-private-runner branch November 18, 2026 06:39
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.

1 participant