Fix ADF cronjob slackbot warning message (#8698)

This commit is contained in:
Tomasz Gnyp
2023-06-23 17:14:43 +02:00
committed by GitHub
parent 74fd03b553
commit 43feb814fd

View File

@@ -495,7 +495,7 @@ jobs:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with: with:
channel-id: 'C016SMNNL8L' #guild-channel channel-id: 'C016SMNNL8L' #guild-channel
slack-message: "Warning: The daily ADF cronjob failed\n Workflow run : <https://github.com/Alfresco/alfresco-ng2-components/actions/runs/${{ github.run_id }}" slack-message: "🔴 Warning: The daily ADF cronjob failed\nWorkflow run : <https://github.com/Alfresco/alfresco-ng2-components/actions/runs/${{ github.run_id }}| here>\n"
- name: workflow failure - name: workflow failure
run: exit 1 run: exit 1
if: ${{ contains(needs.*.result, 'failure') }} if: ${{ contains(needs.*.result, 'failure') }}