File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check Markdown links
2+
3+ # on:
4+ # push:
5+ # branches:
6+ # - master
7+ # pull_request:
8+ # branches: [master]
9+ on : push
10+ jobs :
11+ markdown-link-check :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : technote-space/get-diff-action@v6
16+ with :
17+ PATTERNS : |
18+ **/**.md
19+
20+ - uses : gaurav-nelson/github-action-markdown-link-check@v1
21+ with :
22+ use-quiet-mode : ' yes'
23+ use-verbose-mode : ' yes'
24+ config-file : ' .md_check_config.json'
25+
Original file line number Diff line number Diff line change 1+ {
2+ "ignorePatterns" : [
3+ {
4+ "pattern" : " ^http://localhost"
5+ }
6+ ],
7+ "replacementPatterns" : [
8+ {
9+ "pattern" : " ^/LICENSE" ,
10+ "replacement" : " {{BASEURL}}/LICENSE"
11+ }
12+ ],
13+ "timeout" : " 20s"
14+ }
You can’t perform that action at this time.
0 commit comments