chore: predicate slack notification job on other jobs (#16106)

`always()` does not seem to work

Extending https://github.com/coder/coder/pull/16105

Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
Danny Kopping
2025-01-13 13:42:37 +02:00
committed by GitHub
parent 4543b21b7c
commit f9f72de1d6
+4 -1
View File
@@ -74,8 +74,11 @@ jobs:
api-key: ${{ secrets.DATADOG_API_KEY }}
notify-slack-on-failure:
needs:
- go-race
- go-timing
runs-on: ubuntu-latest
if: always() && failure()
if: failure()
steps:
- name: Send Slack notification