From 410046cae21eb94b0a553e6c12ae60fe71cf3ccc Mon Sep 17 00:00:00 2001 From: adrinr Date: Fri, 21 Apr 2023 16:48:01 +0100 Subject: [PATCH] Run tag only on develop --- .github/workflows/tag-prerelease.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tag-prerelease.yml b/.github/workflows/tag-prerelease.yml index 7911b76ad4..54ce6dd547 100644 --- a/.github/workflows/tag-prerelease.yml +++ b/.github/workflows/tag-prerelease.yml @@ -5,7 +5,6 @@ on: push: branches: - develop - - chore/pipeline_npm_version_updates paths: - ".aws/**" - ".github/**" @@ -21,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - # - name: Fail if branch is not develop - # if: github.ref != 'refs/heads/develop' - # run: | - # echo "Ref is not develop, you must run this job from develop." - # exit 1 + - name: Fail if branch is not develop + if: github.ref != 'refs/heads/develop' + run: | + echo "Ref is not develop, you must run this job from develop." + exit 1 - uses: actions/checkout@v2 with: submodules: true