From 52a7f09ce6c3202d4929e1d6282d1d6b12578b40 Mon Sep 17 00:00:00 2001 From: Offending Commit Date: Thu, 28 May 2026 15:23:38 -0500 Subject: [PATCH] fix(ci): trigger release build on release publish, not tag push MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit semantic-release creates the tag via the GitHub Releases API (@semantic-release/github). API-created tags don't emit the refs/tags/* push event that 'on: push: tags' listens for, so the artifact build never auto-ran — every release so far was built by manual workflow_dispatch. The PAT-published release does fire 'release: published', so trigger on that. workflow_dispatch stays as a manual fallback. --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16c7683..44fd6df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: Release on: - push: - tags: - - 'v*' + release: + types: [published] workflow_dispatch: inputs: tag: