From bf4bd7a868b6eb35ffa3695e0921d2efe80a3ec8 Mon Sep 17 00:00:00 2001 From: Allyedge Date: Wed, 1 Jun 2022 19:42:02 +0200 Subject: [PATCH] refactor: update release.yml --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8951be..72b8c64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,12 @@ name: goreleaser on: push: - # run only against tags - tags: - - "*" + branches: + - main + - go_rewrite + pull_request_target: + branches: + - main permissions: contents: write