diff --git a/CHANGELOG.md b/CHANGELOG.md index c14b5ca..5090c9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ All notable changes to this project are documented here, following ## [Unreleased] +### Changed + +- `examples/gatehouse.yml`: the `guard` job ("Protect workflows") runs on + `vars.UNCACHED_RUNNER_LABEL` in private repos, so they no longer depend on + GitHub Actions billing. Public repos stay on `ubuntu-latest`. + ## [0.10.0] - 2026-11-18 ### Fixed diff --git a/examples/gatehouse.yml b/examples/gatehouse.yml index a4377cf..fbdcb89 100644 --- a/examples/gatehouse.yml +++ b/examples/gatehouse.yml @@ -52,7 +52,7 @@ jobs: # Runs on replies too. A job skipped on the reply event reports # "skipped", which a required check counts as passing: skipping the # guard there would let any comment on a rejected fork PR clear it. - runs-on: ubuntu-latest + runs-on: ${{ github.event.repository.private && vars.UNCACHED_RUNNER_LABEL || 'ubuntu-latest' }} permissions: contents: read pull-requests: write