Skip to content

Commit

Permalink
Update pull-request.yml (#8639)
Browse files Browse the repository at this point in the history
  • Loading branch information
eromano committed Jun 9, 2023
1 parent 7865650 commit e176009
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,14 @@ jobs:
name: Final Results
needs: [check-if-pr-is-approved, check-package-lock, setup, unit-tests, lint, build-libs, e2e, e2e-storybook]
steps:
- uses: slackapi/slack-github-action@v1.23.0
name: Nofify QA 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 }}"
- name: workflow failure
run: exit 1
if: ${{ contains(needs.*.result, 'failure') }}
Expand All @@ -496,12 +504,4 @@ 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 e176009

Please sign in to comment.