chore: reduce slack spam for manually run docs link checker workflows (#12630)

This commit is contained in:
Muhammad Atif Ali 2024-03-18 17:23:54 +03:00 committed by GitHub
parent 15845d1a65
commit f0c5e8e960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ jobs:
file-path: "./README.md"
- name: Send Slack notification
if: failure()
if: failure() && github.event_name != 'workflow_dispatch'
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"