Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Sep 13, 2023
1 parent d9ca426 commit 620fc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
uses: slackapi/[email protected]
with:
channel-id: 'testing-github-actions-slack-bot'
slack-message: "A workflow run failed\n\n*Repo:* ${{ github.event.repository.full_name }} (${{ github.event.repository.url }})\n*Workflow:* ${{ github.event.workflow.name }} (${{ github.event.workflow.path }})\n*Branch:* ${{ github.event.workflow_run.head_branch }} (${{ github.even.workflow_run.head_sha }})\n*Run:* ${{ github.event.workflow_run.run_number }} (${{ github.event.workflow_run.id }}, attempt ${{ github.event.workflow_run.run_attempt }}, started at ${{ github.event.workflow_run.started_at }})\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}"
slack-message: "A workflow run failed:\n\n*Repo:* ${{ github.event.repository.full_name }} (${{ github.event.repository.html_url }})\n*Workflow:* ${{ github.event.workflow.name }} (`${{ github.event.workflow.path }}`)\n*Branch:* `${{ github.event.workflow_run.head_branch }}` (`${{ github.event.workflow_run.head_commit.id }}`)\n*Run:* ${{ github.event.workflow_run.html_url }}\n*Conclusion:* ${{ github.event.workflow_run.conclusion }}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 620fc52

Please sign in to comment.