Skip to content

Commit 63af4c6

Browse files
authored
chore: Add exceptions for markdown check (#7078)
* rename and run slack step on failure * add exceptions
1 parent 45776e5 commit 63af4c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/cron-weekly.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Markdown Links Check
1+
name: Weekly Cron
22
# runs every monday at 9 am
33
on:
44
schedule:
@@ -19,10 +19,11 @@ jobs:
1919
with:
2020
use-quiet-mode: "yes"
2121
use-verbose-mode: "yes"
22-
config-file: ".github/workflows/markdown.links.config.json"
22+
config-file: ".github/workflows/mlc_config.json"
2323
folder-path: "docs/"
2424

2525
- name: Send Slack notification
26+
if: failure()
2627
run: |
2728
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 }}
2829
echo "Sent Slack notification"

0 commit comments

Comments
 (0)