Skip to content

Commit 362b8a5

Browse files
fatherlinuxclaude
andauthored
chore(gatehouse): run guard on our runners in private repos (#69)
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. Claude-Session: https://claude.ai/code/session_01R7Y1jeWKZVB8rtVJ3TZsRc Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent aee19bc commit 362b8a5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project are documented here, following
66

77
## [Unreleased]
88

9+
### Changed
10+
11+
- `examples/gatehouse.yml`: the `guard` job ("Protect workflows") runs on
12+
`vars.UNCACHED_RUNNER_LABEL` in private repos, so they no longer depend on
13+
GitHub Actions billing. Public repos stay on `ubuntu-latest`.
14+
915
## [0.10.0] - 2026-11-18
1016

1117
### Fixed

‎examples/gatehouse.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# Runs on replies too. A job skipped on the reply event reports
5353
# "skipped", which a required check counts as passing: skipping the
5454
# guard there would let any comment on a rejected fork PR clear it.
55-
runs-on: ubuntu-latest
55+
runs-on: ${{ github.event.repository.private && vars.UNCACHED_RUNNER_LABEL || 'ubuntu-latest' }}
5656
permissions:
5757
contents: read
5858
pull-requests: write

0 commit comments

Comments
 (0)