Skip to content

Commit

Permalink
Merge pull request #68 from gaurav-nelson/modified-test
Browse files Browse the repository at this point in the history
deleted file check
  • Loading branch information
gaurav-nelson committed Aug 20, 2020
2 parents 7ababe1 + 44595f2 commit 95d5f3b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 30 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/push.yml
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Expand Up @@ -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
Expand Down
25 changes: 0 additions & 25 deletions md/dir3/level-1a.md

This file was deleted.

2 changes: 1 addition & 1 deletion md/dir3/level-1b.md
Expand Up @@ -7,4 +7,4 @@ This [one does](#bravo).

## Charlie

This is linked from file1.
This is linked from file1. www.samplefailfailfail.co

0 comments on commit 95d5f3b

Please sign in to comment.