Skip to content

Commit 89359c1

Browse files
committed
Try and fix slack link
1 parent cdee42b commit 89359c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/homebrew.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- name: Report failure
2424
# TODO: replace with failure()
25-
if: ${{ success() }}
25+
if: ${{ matrix.runner == 'macos-15' }}
2626
env:
2727
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MONGOSH_DEVEL_WEBHOOK_URL }}
2828
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
@@ -36,7 +36,7 @@ jobs:
3636
"type": "section",
3737
"text": {
3838
"type": "mrkdwn",
39-
"text": "Failed run: [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
39+
"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 }}>"
4040
}
4141
}
4242
]

0 commit comments

Comments
 (0)