File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed
Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 99 uses : ./
1010 with :
1111 check-modified-files-only : ' yes'
12+ markdown-link-check-folders :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@master
16+ - name : markdown-link-check
17+ uses : ./
18+ with :
19+ # Add a test to restrict the test to just dir4 and dir5.
20+ folder-path : ' ./md/dir4, ./md/dir5'
1221 shellcheck :
1322 runs-on : [ubuntu-latest]
1423 steps :
Original file line number Diff line number Diff line change @@ -182,9 +182,9 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
182182else
183183
184184 if [ " $5 " -ne -1 ]; then
185- FIND_CALL=(' find' " ${FOLDERS} " ' -name' ' *' " ${FILE_EXTENSION} " ' -not' ' -path' ' ./node_modules/*' ' -maxdepth' " ${MAX_DEPTH} " ' -exec' ' markdown-link-check' ' {}' )
185+ FIND_CALL=(' find' ${FOLDERS} ' -name' ' *' " ${FILE_EXTENSION} " ' -not' ' -path' ' ./node_modules/*' ' -maxdepth' " ${MAX_DEPTH} " ' -exec' ' markdown-link-check' ' {}' )
186186 else
187- FIND_CALL=(' find' " ${FOLDERS} " ' -name' ' *' " ${FILE_EXTENSION} " ' -not' ' -path' ' ./node_modules/*' ' -exec' ' markdown-link-check' ' {}' )
187+ FIND_CALL=(' find' ${FOLDERS} ' -name' ' *' " ${FILE_EXTENSION} " ' -not' ' -path' ' ./node_modules/*' ' -exec' ' markdown-link-check' ' {}' )
188188 fi
189189
190190 add_options
Original file line number Diff line number Diff line change 1+ # Ok4
2+
3+ ## Test
4+
5+ Go to [ Ok5] ( ../dir5/ok5.md#test )
6+
Original file line number Diff line number Diff line change 1+ # Ok5
2+
3+ ## Test
4+
5+ Go to [ Ok4] ( ../dir4/ok4.md#test )
6+
You can’t perform that action at this time.
0 commit comments