Skip to content

Commit 7422cf9

Browse files
Don't skip notification on build failure (#5469)
1 parent ebf6f34 commit 7422cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/providers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176

177177
- name: Send Slack notification on failure
178178
uses: slackapi/slack-github-action@v2.0.0
179-
if: ${{ steps.build-providers.outcome != 'success' }}
179+
if: ${{ always() && steps.build-providers.outcome != 'success' }}
180180
with:
181181
method: chat.postMessage
182182
token: ${{ secrets.SLACK_BOT_TOKEN }}

0 commit comments

Comments
 (0)