From 168e6285869c38d313ea265ac512e1d352490359 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 1 May 2023 12:21:00 +0200 Subject: [PATCH] Update ci-testing.yml Signed-off-by: Glenn Jocher --- .github/workflows/ci-testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 7de084fef06d..18f7c61043de 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -158,7 +158,7 @@ jobs: if: always() # This ensures the job runs even if previous jobs fail steps: - name: Check for failure and notify - if: ${{ needs.Benchmarks.result == 'failure' || needs.Tests.result == 'failure' }} # Check if any of the jobs failed + if: ${{ needs.Benchmarks.result == 'failure' || needs.Tests.result == 'failure' }} && github.repository == 'ultralytics/yolov5' && (github.event_name == 'schedule' || github.event_name == 'push') uses: slackapi/slack-github-action@v1.23.0 with: payload: |