ci: only send docs-check notifications on schedule (#13191)

This commit is contained in:
Muhammad Atif Ali
2024-05-07 01:40:18 +03:00
committed by GitHub
parent 6f5c183c80
commit b56c9c438f
+1 -1
View File
@@ -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"