Skip to content

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

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

The template's guard job ("Protect workflows") now uses the same runs-on expression the review job gets in gatehouse#154:

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

guard never checks out PR code; it reads only the changed-file list through the API, so private repos can run it on our runners and stop depending on GitHub Actions billing. Public repos stay on ubuntu-latest, because forks could otherwise reach a self-hosted label through pull_request_review_comment. The job name is unchanged, so the required check name is too.

tests/test_convert_repo.py and tests/test_fleet_wave.py pass in quay.io/crunchtools/sdlc:latest.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R7Y1jeWKZVB8rtVJ3TZsRc

The Protect workflows job only reads the changed-file list through the
API, so it can run on vars.UNCACHED_RUNNER_LABEL in private repos the
same way the review job does (gatehouse#154). Public repos stay on
ubuntu-latest so forks can't reach a self-hosted label.

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.

1 finding(s) dropped: their evidence is not in the diff.

@fatherlinux
fatherlinux merged commit 362b8a5 into main Nov 18, 2026
9 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.

1 participant