Skip to content

Commit

Permalink
Try and fix slack link
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 13, 2024
1 parent cdee42b commit 89359c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Report failure
# TODO: replace with failure()
if: ${{ success() }}
if: ${{ matrix.runner == 'macos-15' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MONGOSH_DEVEL_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
Expand All @@ -36,7 +36,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Failed run: [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
"text": "Homebrew smoke test failed on macOS ${{ matrix.runner }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }})|${{ github.run_id }}>"
}
}
]
Expand Down

0 comments on commit 89359c1

Please sign in to comment.