mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
HXOR-167: send slack message in case of release failures (#8781)
* HXOR-167: send slack message in case of release failures * remove username
This commit is contained in:
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -222,3 +222,19 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- uses: ./.github/actions/npm-check-bundle
|
- uses: ./.github/actions/npm-check-bundle
|
||||||
|
|
||||||
|
finalize:
|
||||||
|
if: always()
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Final Results
|
||||||
|
needs: [release-demoshell, release-storybook, release-npm, npm-check-bundle]
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- uses: slackapi/slack-github-action@v1.23.0
|
||||||
|
name: Nofify FE hxp-front-end-apps workflow failed
|
||||||
|
if: ${{ contains(toJson(needs.*.result), 'failure') }}
|
||||||
|
env:
|
||||||
|
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
||||||
|
with:
|
||||||
|
channel-id: 'C04N93XU491' #hxp-front-end-apps
|
||||||
|
slack-message: "🔴 Warning: The release workflow of alfresco-ng2-components pipe failed\n Author: name:${{ github.event.pusher.name }}\n Workflow run : <https://github.com/Alfresco/alfresco-ng2-components/actions/runs/${{ github.run_id }}| here>\n>"
|
||||||
|
Reference in New Issue
Block a user