Skip to content

Commit

Permalink
add slack message on cron fail (#8633)
Browse files Browse the repository at this point in the history
  • Loading branch information
eromano committed Jun 7, 2023
1 parent 2ea8294 commit 826cdf5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,3 +490,12 @@ jobs:
- name: workflow success
run: exit 0
if: ${{ contains(needs.*.result, 'success') }}
- uses: slackapi/slack-github-action@v1.23.0
name: Nofify QA hxp-studio-testing failure
if: ${{ contains(needs.*.result, 'failure') }}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
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 }}"

0 comments on commit 826cdf5

Please sign in to comment.