From 6dfd56dcd44e4a69cc91ac2af43b070d1d13982c Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Fri, 12 Jun 2026 15:08:11 -0400 Subject: [PATCH] ci(release): skip GitHub relay when GH_MIRROR_TOKEN absent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Relay is on hold until after the rc dress rehearsal — without the secret the step exits cleanly instead of failing the release run. Adding the secret later enables it with no workflow change. --- .gitea/workflows/release-binaries.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/release-binaries.yml b/.gitea/workflows/release-binaries.yml index 201969f..85dd4ba 100644 --- a/.gitea/workflows/release-binaries.yml +++ b/.gitea/workflows/release-binaries.yml @@ -60,6 +60,10 @@ jobs: env: GH_TOKEN: ${{ secrets.GH_MIRROR_TOKEN }} run: | + if [ -z "$GH_TOKEN" ]; then + echo "GH_MIRROR_TOKEN not set — skipping GitHub release relay" + exit 0 + fi apk add --no-cache github-cli TAG="${{ github.ref_name }}"