From 4b0bef92681d366cd92f3d1fec7fb4b3904ac367 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 28 May 2025 08:45:40 -0400 Subject: [PATCH] `publish.yml`: only create release for tags --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1dd4256..e87603c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,7 @@ jobs: - name: Create Release id: create_release + if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}