Skip to content

Commit 21872e9

Browse files
committed
Add the capacity to run the slack notification step regardless of previous steps' failure
1 parent 6e86074 commit 21872e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-packages.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
asset_content_type: application/x-deb
7474
- name: Slack notification of CI status
7575
uses: rtCamp/action-slack-notify@v2
76+
if: success() || failure()
7677
env:
7778
SLACK_CHANNEL: team_open_source
7879
SLACK_COLOR: ${{ job.status }}
@@ -160,6 +161,7 @@ jobs:
160161
asset_content_type: application/x-deb
161162
- name: Slack notification of CI status
162163
uses: rtCamp/action-slack-notify@v2
164+
if: success() || failure()
163165
env:
164166
SLACK_CHANNEL: team_open_source
165167
SLACK_COLOR: ${{ job.status }}
@@ -312,6 +314,7 @@ jobs:
312314
docker logout
313315
- name: Slack notification of CI status
314316
uses: rtCamp/action-slack-notify@v2
317+
if: success() || failure()
315318
env:
316319
SLACK_CHANNEL: team_open_source
317320
SLACK_COLOR: ${{ job.status }}

0 commit comments

Comments
 (0)