Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
romsharon98 committed Sep 26, 2024
1 parent f7b417f commit 6374340
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ jobs:

notify-slack-failure:
name: "Notify Slack on Failure"
# if: github.event_name == 'schedule' && failure()
if: github.event_name == 'schedule' && failure()
runs-on: ["ubuntu-22.04"]
steps:
- name: Notify Slack
Expand All @@ -684,17 +684,13 @@ jobs:
channel-id: 'zzz_webhook_test'
payload: |
{
"text": "🚨🕒 Scheduled CI Failure Alert 🕒🚨\n\n
*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|View the failure log>",
"text": "🚨🕒 Scheduled CI Failure Alert 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "🚨🕒 Scheduled CI Failure Alert 🕒🚨\n\n
*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|View the failure log>"
"text": "🚨🕒 Scheduled CI Failure Alert 🕒🚨\n\n*Details:* <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View the failure log>"
}
}
]
Expand Down

0 comments on commit 6374340

Please sign in to comment.