-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-1235: Enable triggering release-tagging workflow manually on-dema…
…nd also (#1142) * ENG-1235: Enable triggering release-tagging workflow manually on-demand also, in case previous auto-run(s) had failed * ENG-1235: Addressed PR feedback to update slack notification trigger condition, to not check for tag-build
- Loading branch information
1 parent
5d616cc
commit cc95cc1
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,15 +146,15 @@ jobs: | |
echo "RASA_SDK_VERSION=${RASA_SDK_VERSION/refs\/tags\//}" >> $GITHUB_ENV | ||
- name: Notify Slack 💬 | ||
if: env.IS_TAG_BUILD && success() | ||
if: success() | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_RELEASE_WEBHOOK }} | ||
uses: Ilshidur/[email protected] | ||
with: | ||
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: env.IS_TAG_BUILD && failure() | ||
if: failure() | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_RELEASE_ASSISTANT_DEV_TRIBE_WEBHOOK }} | ||
uses: Ilshidur/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
- main | ||
- '[0-9]+.[0-9]+.x' | ||
types: [closed] | ||
workflow_dispatch: | ||
|
||
env: | ||
COMMIT_EMAIL: [email protected] | ||
|