mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
Update pull-request.yml (#8639)
This commit is contained in:
parent
7865650d00
commit
e176009be7
16
.github/workflows/pull-request.yml
vendored
16
.github/workflows/pull-request.yml
vendored
@ -487,6 +487,14 @@ jobs:
|
|||||||
name: Final Results
|
name: Final Results
|
||||||
needs: [check-if-pr-is-approved, check-package-lock, setup, unit-tests, lint, build-libs, e2e, e2e-storybook]
|
needs: [check-if-pr-is-approved, check-package-lock, setup, unit-tests, lint, build-libs, e2e, e2e-storybook]
|
||||||
steps:
|
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
|
- name: workflow failure
|
||||||
run: exit 1
|
run: exit 1
|
||||||
if: ${{ contains(needs.*.result, 'failure') }}
|
if: ${{ contains(needs.*.result, 'failure') }}
|
||||||
@ -496,12 +504,4 @@ jobs:
|
|||||||
- name: workflow success
|
- name: workflow success
|
||||||
run: exit 0
|
run: exit 0
|
||||||
if: ${{ contains(needs.*.result, 'success') }}
|
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 }}"
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user