Skip to content

Commit 6c61c61

Browse files
committed
Don't send Slack notifications for PR build failures
1 parent e3e5a5d commit 6c61c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cloud-client-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
apt-get update && apt-get -y install gettext-base
5959
./run-tests.sh
6060
- name: Slack notification
61-
if: ${{ failure() }}
61+
if: ${{ failure() && github.event_name != 'pull_request' }}
6262
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
6363
with:
6464
method: chat.postMessage

0 commit comments

Comments
 (0)