AAE-24980 Fix ADF release warning username message (#10043)

* AAE-24980 Fix ADF release warning username message

* fix real workflow

* remove not needed @

* fix context
This commit is contained in:
Tomasz Gnyp 2024-08-05 16:42:06 +02:00 committed by GitHub
parent e29b41af2d
commit ff4a1afd4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,15 +1,7 @@
name: "release" name: "release"
on: on:
workflow_call: push:
inputs:
dry-run-flag:
description: 'enable dry-run on artifact push'
required: false
type: boolean
default: true
pull_request:
types: [closed]
branches: branches:
- develop - develop
- master - master
@ -243,7 +235,6 @@ jobs:
name: Final Results name: Final Results
needs: [release-demoshell, release-storybook, release-npm, npm-check-bundle] needs: [release-demoshell, release-storybook, release-npm, npm-check-bundle]
steps: steps:
- uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
name: Nofify FE eng-guild-front-end workflow failed name: Nofify FE eng-guild-front-end workflow failed
if: ${{ contains(toJson(needs.*.result), 'failure') }} if: ${{ contains(toJson(needs.*.result), 'failure') }}
@ -251,4 +242,4 @@ jobs:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with: with:
channel-id: 'C016SMNNL8L' #eng-guild-front-end channel-id: 'C016SMNNL8L' #eng-guild-front-end
slack-message: "🔴 Warning: The release workflow of alfresco-ng2-components pipe failed\n Author: name:${{ github.event.pusher.name }} username:${{ github.event.pusher.username }}\n Workflow run : <https://github.com/Alfresco/alfresco-ng2-components/actions/runs/${{ github.run_id }}| here>\n>" slack-message: "🔴 Warning: The release workflow of alfresco-ng2-components pipe failed\n Author username: ${{ github.event.pusher.name }}\n Workflow run : <https://github.com/Alfresco/alfresco-ng2-components/actions/runs/${{ github.run_id }}| here>\n>"