Skip to content

Commit 89da1a0

Browse files
authored
slack workflow status should fire even if job cancelled (#5525)
1 parent 297c426 commit 89da1a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
uses: viamrobotics/rdk/.github/workflows/license_finder.yml@main
6666

6767
slack-workflow-status:
68-
if: ${{ failure() }}
68+
if: ${{ !success() }}
6969
name: Post Workflow Status To Slack
7070
needs:
7171
- test

.github/workflows/releasecandidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
4545

4646
slack-workflow-status:
47-
if: ${{ failure() }}
47+
if: ${{ !success() }}
4848
name: Post Workflow Status To Slack
4949
needs:
5050
- test

.github/workflows/stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
6262

6363
slack-workflow-status:
64-
if: ${{ failure() }}
64+
if: ${{ !success() }}
6565
name: Post Workflow Status To Slack
6666
needs:
6767
- test

0 commit comments

Comments
 (0)