Skip to content

Commit

Permalink
[no-relnote] Report GHA Staging_e2e status
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
  • Loading branch information
ArangoGutierrez committed Aug 19, 2024
1 parent e7a260b commit 28f7d9f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/staging_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,17 @@ jobs:
name: e2e-test-logs
path: ./e2e_logs/
retention-days: 15

- name: Send Slack alert notification
id: slack
if: ${{ failure() }}
uses: slackapi/slack-github-action@v1.26.0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SUMMARY_URL: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: |
:red_target: On repository ${{ github.repository }} the Workflow *${{ github.workflow }}* has failed.
Details: ${{ env.SUMMARY_URL }}

0 comments on commit 28f7d9f

Please # to comment.