From 77c5349dbee1c2fa377fed14b4a97f688afa900b Mon Sep 17 00:00:00 2001 From: Asad Hasan Date: Thu, 29 Aug 2024 09:41:16 +0100 Subject: [PATCH] =?UTF-8?q?Revert=20"ENG-1235:=20Enable=20triggering=20rel?= =?UTF-8?q?ease-tagging=20workflow=20manually=20on-dema=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cc95cc12e704cb0f8f85b2d47c0f57ec5aa27d1d. --- .github/workflows/release-artifacts.yml | 4 ++-- .github/workflows/tag-release.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 5b44ce0ee..521d48428 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -146,7 +146,7 @@ jobs: echo "RASA_SDK_VERSION=${RASA_SDK_VERSION/refs\/tags\//}" >> $GITHUB_ENV - name: Notify Slack 💬 - if: success() + if: env.IS_TAG_BUILD && success() env: SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_RELEASE_WEBHOOK }} uses: Ilshidur/action-slack@2.1.0 @@ -154,7 +154,7 @@ jobs: args: "⚡ New *Rasa SDK* version ${{ env.RASA_SDK_VERSION }} has been released! Changelog: https://github.com/RasaHQ/rasa-sdk/blob/${{ env.RASA_SDK_VERSION }}/CHANGELOG.mdx" - name: Notify Slack of Failure ⛔ - if: failure() + if: env.IS_TAG_BUILD && failure() env: SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_DEV_TRIBE_WEBHOOK }} uses: Ilshidur/action-slack@2.1.0 diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 6a570e7bc..6b08b577b 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -5,7 +5,6 @@ on: - main - '[0-9]+.[0-9]+.x' types: [closed] - workflow_dispatch: env: COMMIT_EMAIL: sara-tagger@users.noreply.github.com