diff --git a/.github/workflows/cron-weekly.yaml b/.github/workflows/cron-weekly.yaml index cd838ceebf16a..284257db0c065 100644 --- a/.github/workflows/cron-weekly.yaml +++ b/.github/workflows/cron-weekly.yaml @@ -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"