[skip e2e]Add github action to check bad link (#14955)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2022-01-06 21:57:32 +08:00 committed by GitHub
parent 66115b59e2
commit 25f45a4eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/markdown-check.yaml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Markdown Links Check
on:
workflow_dispatch:
schedule:
- cron: "30 20 * * *"
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from /docs including all subfolders
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
folder-path: 'docs/'
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from root but ignores subfolders
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
max-depth: 0