Skip to content

Commit 16f0947

Browse files
committed
Skip Slack notifications when users don't need notifications in fork
repo
1 parent 86710fa commit 16f0947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- uses: codecov/codecov-action@v3
5858
- name: Slack Notification on Failure
5959
uses: rtCamp/[email protected]
60-
if: failure()
60+
if: failure() && env.SLACK_WEBHOOK != ''
6161
env:
6262
SLACK_CHANNEL: plugin-wiki_ext
6363
SLACK_TITLE: Test Failure

0 commit comments

Comments
 (0)