remove pull-requests from release triggers, only trigger on tags. (#25)

This commit is contained in:
Matt Spurrier 2024-03-30 22:38:09 +08:00 committed by GitHub
parent cf47ece4a8
commit 8bd34b293e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,6 @@
name: goreleaser name: goreleaser
on: on:
pull_request:
push: push:
# run only against tags # run only against tags
tags: tags:
@ -37,4 +36,4 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}