mirror of
https://github.com/coder/coder.git
synced 2026-09-21 20:51:01 +08:00
ci: only send docs-check notifications on schedule (#13191)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user