Switch to using GitHub action to verify markdown links for PRs (#17281)

This commit is contained in:
Travis Plunk
2022-05-09 11:42:15 -07:00
committed by GitHub
parent a33b5d32b0
commit 4af204f574
4 changed files with 24 additions and 13 deletions
@@ -0,0 +1,3 @@
{
"aliveStatusCodes": [504, 503, 403, 200]
}
+20
View File
@@ -0,0 +1,20 @@
on:
pull_request:
branches:
- master
- 'release/**'
paths:
- '**.md'
name: Check links for modified files
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
check-modified-files-only: 'yes'
config-file: .github/workflows/markdown-link/config.json