Merge pull request #68 from gaurav-nelson/modified-test

deleted file check
This commit is contained in:
Gaurav Nelson 2020-08-20 19:35:56 +10:00 committed by GitHub
commit 95d5f3b63d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 30 deletions

View File

@ -8,9 +8,7 @@ jobs:
- name: markdown-link-check
uses: ./
with:
use-quiet-mode: 'yes'
folder-path: 'md/dir1, md/dir2'
file-path: './README.md, ./LICENSE, ./md/file4.markdown'
check-modified-files-only: 'yes'
shellcheck:
runs-on: [ubuntu-latest]
steps:

View File

@ -163,7 +163,7 @@ if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then
add_options
mapfile -t FILE_ARRAY < <( git diff --name-only "$MASTER_HASH" )
mapfile -t FILE_ARRAY < <( git diff --name-only --diff-filter=AM "$MASTER_HASH" )
for i in "${FILE_ARRAY[@]}"
do

View File

@ -1,25 +0,0 @@
## Test internal and external links
www.google.com
[This is a broken link](https://www.exampleexample.cox)
[This is another broken link](http://ignored-domain.com) but its ignored using a
configuration file.
### Alpha
This [exists](#alpha).
This [one does not](#does-not).
References and definitions are [checked][alpha] [too][charlie].
### Bravo
Headings in `readme.md` are [not checked](file1.md#bravo).
But [missing files are reported](missing-example.js).
[alpha]: #alpha
[charlie]: #charlie
External file: [Charlie](./file2.md/#charlie)

View File

@ -7,4 +7,4 @@ This [one does](#bravo).
## Charlie
This is linked from file1.
This is linked from file1. www.samplefailfailfail.co