From de4280fa69021a93d05d42055300c69be7e88982 Mon Sep 17 00:00:00 2001 From: Cristiano Betta Date: Sat, 24 Oct 2026 12:51:04 +0100 Subject: [PATCH] ci(publish): only master publishes A manual run of publish.yml on another branch pushed that branch as :master, which jiji's pin timer then deploys. The publish job now runs only for refs/heads/master. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7d06cf..15ac304 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -45,6 +45,8 @@ jobs: publish: needs: ci + # A manual run can pick any branch; only master ever becomes :master. + if: github.ref == 'refs/heads/master' runs-on: [self-hosted, jiji-ci] permissions: contents: read