From 92fb2183fe24f06179e6c946e482a8bd4de76f12 Mon Sep 17 00:00:00 2001 From: Dmytro Parzhytskyi Date: Mon, 13 Oct 2025 15:59:15 +0300 Subject: [PATCH] Only publish on tag push --- .github/workflows/test-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml index 51574b8..0a27ee1 100644 --- a/.github/workflows/test-publish.yaml +++ b/.github/workflows/test-publish.yaml @@ -84,7 +84,7 @@ jobs: contents: read id-token: write runs-on: ubuntu-latest - if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v5 - uses: actions/setup-node@v5