From 2b93bcf0720e1528d908eb7a2301ec86bc97effb Mon Sep 17 00:00:00 2001 From: Kwabena Amponsah Date: Wed, 5 Nov 2025 19:48:34 +0000 Subject: [PATCH] Limit slack notifications to cronjob --- .github/workflows/ubuntu-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index 042f722..fe85b7c 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -79,7 +79,7 @@ jobs: working-directory: build - name: Slack notification - if: failure() + if: ${{ failure() && github.event_name == 'schedule' }} uses: slackapi/slack-github-action@v2.0.0 with: method: chat.postMessage