From 028b5e4765e29047992afb23b4fd86d60f4a4b1a Mon Sep 17 00:00:00 2001 From: Scott McCarty Date: Wed, 18 Nov 2026 06:23:48 +0000 Subject: [PATCH] chore(gatehouse): run guard on our runners in private repos 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 Claude-Session: https://claude.ai/code/session_01R7Y1jeWKZVB8rtVJ3TZsRc --- .github/workflows/gatehouse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gatehouse.yml b/.github/workflows/gatehouse.yml index f0a31d7..cba8671 100644 --- a/.github/workflows/gatehouse.yml +++ b/.github/workflows/gatehouse.yml @@ -51,7 +51,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