From d03613074d8e5ba6ff0c70c774fd6a94b6a9d744 Mon Sep 17 00:00:00 2001 From: Kevin Yang <5478483+k-yang@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:48:54 -0500 Subject: [PATCH] ci: only run goreleaser on tagged commits --- .github/workflows/goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 9bcae44d3..c98c2b8c8 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -28,6 +28,7 @@ jobs: - run: git fetch --force --tags - run: make release + if: startsWith(github.ref, 'refs/tags/v') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}