From d2da33f10005ac899032e9741dbdb53caf82a512 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 7 May 2024 01:28:16 +0300 Subject: [PATCH] ci: only send docs-check notifications on schedule --- .github/workflows/weekly-docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly-docs.yaml b/.github/workflows/weekly-docs.yaml index 64c2e9899df92..049b31b85155e 100644 --- a/.github/workflows/weekly-docs.yaml +++ b/.github/workflows/weekly-docs.yaml @@ -29,7 +29,7 @@ jobs: file-path: "./README.md" - name: Send Slack notification - if: failure() && github.event_name != 'workflow_dispatch' + if: failure() && github.event_name == 'schedule' run: | curl -X POST -H 'Content-type: application/json' -d '{"msg":"Broken links found in the documentation. Please check the logs at ${{ env.LOGS_URL }}"}' ${{ secrets.DOCS_LINK_SLACK_WEBHOOK }} echo "Sent Slack notification"