Only release on merge to main

This commit is contained in:
Adriano Caloiaro 2023-05-29 09:33:33 -06:00
parent 24b9e166be
commit 2affb6c8b1
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75

View file

@ -1,12 +1,14 @@
name: goreleaser
on:
push:
pull_request:
types: [closed]
branches:
- main
jobs:
goreleaser:
if: "github.event.pull_request.merged == true"
runs-on: ubuntu-latest
steps:
-