From a7602916658493eed451f446bc809dc39e5eb769 Mon Sep 17 00:00:00 2001 From: gogocat Date: Thu, 2 Apr 2026 20:15:34 +0300 Subject: [PATCH] fix(ci): fix publish.yml condition for tag-triggered publish base_ref is empty on tag push events, causing publish job to skip. Replace with startsWith(github.ref, 'refs/tags/v') which works correctly. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ea8b958..c6cf405 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,7 +58,7 @@ jobs: path: dist/* publish: - if: github.ref_type == 'tag' && github.event.base_ref == 'refs/heads/main' + if: startsWith(github.ref, 'refs/tags/v') needs: build runs-on: ubuntu-latest permissions: