mirror of https://github.com/coder/coder.git
chore: reduce slack spam for manually run docs link checker workflows (#12630)
This commit is contained in:
parent
15845d1a65
commit
f0c5e8e960
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue