Skip to content

Commit

Permalink
Merge pull request #78 from ArangoGutierrez/slack_bot
Browse files Browse the repository at this point in the history
Report GHA e2e status
  • Loading branch information
ArangoGutierrez authored Nov 8, 2024
2 parents 870e340 + 84b6273 commit b344423
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,17 @@ jobs:
name: e2e-test-logs
path: ./e2e_logs/
retention-days: 15

- name: Send Slack alert notification
id: slack
if: ${{ failure() }}
uses: slackapi/[email protected]
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 b344423

Please sign in to comment.