Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleted file check #68

Merged
merged 1 commit into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ This [one does](#bravo).

## Charlie

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