Skip to content

Commit

Permalink
Merge pull request #3 from rudderlabs/fix-run-go-releaser-only-agains…
Browse files Browse the repository at this point in the history
…t-tags

fix: run goreleaser only against tags
  • Loading branch information
rskrishnar authored Dec 12, 2024
2 parents db0d841 + 6982032 commit e6b2a1d
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 e6b2a1d

Please sign in to comment.