mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user