chore: Add exceptions for markdown check (#7078)

* rename and run slack step on failure

* add exceptions
This commit is contained in:
Muhammad Atif Ali
2023-04-11 13:15:44 +02:00
committed by GitHub
parent 45776e57f6
commit 63af4c6ed1
+3 -2
View File
@@ -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"