From a1eeeeadb3759fb94184f5c83d0f54e4cbc91f72 Mon Sep 17 00:00:00 2001 From: Jarek Kowalski Date: Sun, 16 Apr 2023 23:48:26 -0700 Subject: [PATCH] fix(ci): don't auto-submit HomeBrew pull requests for testing releases (#2951) Fixes #2928 --- .github/workflows/make.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index f33467a9d..1ff3ff037 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -189,7 +189,9 @@ jobs: DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - name: Bump Homebrew formula uses: dawidd6/action-homebrew-bump-formula@v3 - if: github.ref_type == 'tag' + # only bump formula for tags which don't contain '-' + # this excludes vx.y.z-rc1 + if: github.ref_type == 'tag' && !contains(github.ref_name, '-') with: token: ${{ secrets.HOMEBREW_PUSH_TOKEN }} formula: kopia