From 9dec6c95a464139188d93180dce68c781b69480b Mon Sep 17 00:00:00 2001 From: Vitaly Gashkov Date: Sun, 8 Feb 2026 14:17:30 +0500 Subject: [PATCH] fix: create release only if ref is tag --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4bdd9d5..511650e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -44,6 +44,7 @@ jobs: - name: Create release uses: softprops/action-gh-release@v2 + if: github.ref_type == 'tag' with: generate_release_notes: true prerelease: ${{ steps.version.outputs.PRERELEASE == 'true' }}