From 0fdbf55c8b654d7b68ed3cbcd898cd11d581dacf Mon Sep 17 00:00:00 2001 From: Scott McCarty Date: Wed, 18 Nov 2026 06:15:17 +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 a4377cf..fbdcb89 100644 --- a/.github/workflows/gatehouse.yml +++ b/.github/workflows/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