File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: "Smoke Test Homebrew install"
33on :
44 schedule :
55 - cron : " 0 0 * * *"
6- pull_request : # TODO: remove pull_request trigger
76
87jobs :
98 smoke-test-homebrew :
@@ -21,22 +20,21 @@ jobs:
2120 run : npx --yes mongodb-runner exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI mongosh --smokeTests'
2221
2322 - name : Report failure
24- # TODO: replace with failure()
25- if : ${{ matrix.runner == 'macos-15' }}
23+ if : ${{ failure() }}
2624 env :
2725 SLACK_WEBHOOK_URL : ${{ secrets.SLACK_MONGOSH_DEVEL_WEBHOOK_URL }}
2826 SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
29273028 with :
3129 payload : |
3230 {
33- "text": "Homebrew smoke test failed on macOS ${{ matrix.runner }}",
31+ "text": "Homebrew smoke test failed on ${{ matrix.runner }}",
3432 "blocks": [
3533 {
3634 "type": "section",
3735 "text": {
3836 "type": "mrkdwn",
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 }}>"
37+ "text": "Homebrew smoke test failed on ${{ matrix.runner }}: <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
4038 }
4139 }
4240 ]
You can’t perform that action at this time.
0 commit comments