Skip to content

Commit

Permalink
Notify channel when cron_watcher fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jimchamp committed Dec 18, 2024
1 parent c365481 commit 3bf1dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cron_watcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
channel = os.getenv("SLACK_CHANNEL_ABC_TEAM_PLUS")
if token and channel:
slack_sdk.WebClient(token=token).chat_postMessage(channel=channel,
text="<https://github.com/internetarchive/openlibrary/actions/workflows/cron_watcher.yml|`cron_watcher`> has failed.",
text="<!channel>: <https://github.com/internetarchive/openlibrary/actions/workflows/cron_watcher.yml|`cron_watcher`> has failed.",
)
sys.exit(1)

0 comments on commit 3bf1dc8

Please sign in to comment.