From 8295ab9655571c76ec7786674ce409981b439087 Mon Sep 17 00:00:00 2001 From: dtmeadows Date: Thu, 14 May 2026 17:21:41 -0400 Subject: [PATCH] Add leak-bug guard: only run on -staging repos --- .github/workflows/stlc-promote.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/stlc-promote.yml b/.github/workflows/stlc-promote.yml index d23e245..6c2f5e0 100644 --- a/.github/workflows/stlc-promote.yml +++ b/.github/workflows/stlc-promote.yml @@ -9,6 +9,10 @@ permissions: jobs: promote: + # Guard: this workflow file gets propagated to the production repo during + # promotion. The guard prevents it from running there (where it would no-op + # but still waste a runner). + if: endsWith(github.repository, '-staging') runs-on: ubuntu-latest env: PRODUCTION_REPO: phoebe-bird/phoebe-java