Skip to content

Commit

Permalink
Uncomment the Slack notification step in test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed Sep 4, 2024
1 parent 1a88e5d commit cefb43b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
with:
runCmd: opensafely run run_all

# - name: Notify Slack on failure
# if: failure() && github.event_name == 'schedule'
# uses: zuplo/github-action-slack-notify-build@cf8e7e66a21d76a8125ea9648979c30920195552 # v2
# env:
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
# with:
# channel_id: <TODO: add a channel id>
# status: "Scheduled dev container test run failure"
# color: danger
- name: Notify Slack on failure
if: failure() && github.event_name == 'schedule'
uses: zuplo/github-action-slack-notify-build@cf8e7e66a21d76a8125ea9648979c30920195552 # v2
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel_id: C069YDR4NCA
status: "Scheduled dev container test run failure"
color: danger

0 comments on commit cefb43b

Please sign in to comment.