Skip to content

Commit

Permalink
reenable slack reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Sep 2, 2024
1 parent 92f6ed6 commit 888ea38
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/archive-top-measurements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
commit: --signoff
message: ${{ steps.file.outputs.file }}
push: origin main
# - if: failure()
# uses: slackapi/[email protected]
# with:
# channel-id: alerts
# payload: |
# {
# "text": "Top measurements archival failed",
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": ":warning: *<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Top measurements archival failed>*"
# }
# }
# ]
# }
# env:
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
- if: failure()
uses: slackapi/[email protected]
with:
channel-id: alerts
payload: |
{
"text": "Top measurements archival failed",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":warning: *<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Top measurements archival failed>*"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit 888ea38

Please sign in to comment.