From 17c5652e868ec3bf8eb3a30e8725cb8f9fbe7481 Mon Sep 17 00:00:00 2001 From: Max Goltzsche Date: Mon, 18 Oct 2021 02:15:16 +0200 Subject: [PATCH] chore(release): run goreleaser only if tag pushed --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ae5658..6e38a42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,6 +50,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 + if: startsWith(github.ref, 'refs/tags/') with: version: v0.182.1 args: release --rm-dist