Skip to content

Commit

Permalink
fix: run goreleaser only against tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rskrishnar committed Dec 12, 2024
1 parent db0d841 commit 6982032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
name: goreleaser

on:
pull_request:
push:
# run only against tags
tags:
- "*"
- main
- release

permissions:
contents: write
Expand Down Expand Up @@ -36,4 +36,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

0 comments on commit 6982032

Please sign in to comment.