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 }}