From 273750ef8a062f19185aa565489a69e170d3264a Mon Sep 17 00:00:00 2001 From: Sankalp Sanand Date: Tue, 30 Jan 2024 02:08:54 -0500 Subject: [PATCH] fixing tests.yml --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 515c7d8c2..0b259a011 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -393,7 +393,10 @@ jobs: echo "::set-output name=local_codecov::${local_codecov}" - name: Alert Slack - if: failure() + if: > + (github.event_name == 'schedule' + || github.event_name == 'workflow_dispatch') + && failure() uses: rtCamp/action-slack-notify@v2 env: SLACK_CHANNEL: "covalent-ci"