From 6982032e50f79abccba8070626e580ca535699ba Mon Sep 17 00:00:00 2001 From: Roopsai Krishna Date: Thu, 12 Dec 2024 19:00:29 +0530 Subject: [PATCH] fix: run goreleaser only against tags --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fc63f3..caa2e72 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,11 @@ name: goreleaser on: - pull_request: push: # run only against tags tags: - - "*" + - main + - release permissions: contents: write @@ -36,4 +36,4 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }} \ No newline at end of file + HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}