From 2c37db9320ea020c3e02b39027b3ea14f25eb363 Mon Sep 17 00:00:00 2001 From: Samuel Aaron Katz Keer Date: Fri, 19 Apr 2024 16:58:55 -0500 Subject: [PATCH] change push conditions to require a tag AND master branch --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 44ac7bc..4b12a4c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,6 @@ name: Publish on: push: tags: [ 'v*.*.*' ] - branches: master env: OTP_VERSION_SPEC: "21.1" @@ -14,6 +13,7 @@ jobs: uses: ./.github/workflows/test.yml publish: needs: test + if: ${{ github.ref_name == 'master' }} runs-on: ubuntu-20.04 steps: - name: Checkout Repository