Skip to content

Commit f0c5e8e

Browse files
authored
chore: reduce slack spam for manually run docs link checker workflows (#12630)
1 parent 15845d1 commit f0c5e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/weekly-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
file-path: "./README.md"
2525

2626
- name: Send Slack notification
27-
if: failure()
27+
if: failure() && github.event_name != 'workflow_dispatch'
2828
run: |
2929
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 }}
3030
echo "Sent Slack notification"

0 commit comments

Comments
 (0)