mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: Add exceptions for markdown check (#7078)
* rename and run slack step on failure * add exceptions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Markdown Links Check
|
||||
name: Weekly Cron
|
||||
# runs every monday at 9 am
|
||||
on:
|
||||
schedule:
|
||||
@@ -19,10 +19,11 @@ jobs:
|
||||
with:
|
||||
use-quiet-mode: "yes"
|
||||
use-verbose-mode: "yes"
|
||||
config-file: ".github/workflows/markdown.links.config.json"
|
||||
config-file: ".github/workflows/mlc_config.json"
|
||||
folder-path: "docs/"
|
||||
|
||||
- name: Send Slack notification
|
||||
if: failure()
|
||||
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