Skip to content

Commit

Permalink
add ./extras/**/*.md as a default glob to check
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy4495 committed Oct 1, 2024
1 parent d69328d commit e69bab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
required: false
type: string
extra-input-files:
description: Additional files to scan for links beyond default *.md and **/*.md
description: Additional files to scan for links beyond default *.md **/*.md ./extras/**/*.md
required: false
type: string
override-args:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
# args: --config ./.github/workflows/lychee.toml './**/*.md'
# Need to use ./*.md _and_ ./**/.md because runner shell glob processing does not include current dir
# If there are files more than one directory below ., then need to add as extra-input-files
args: ${{ inputs.exclude }} --verbose --no-progress -a '200,403,429,500' --base . ./*.md ./*/*.md ${{ inputs.extra-input-files }}
args: ${{ inputs.exclude }} --verbose --no-progress -a '200,403,429,500' --base . ./*.md ./*/*.md ./extras/**/*.md ${{ inputs.extra-input-files }}
fail: true
- name: Link Checker user-supplied args
if: ${{ inputs.override-args }}
Expand Down

0 comments on commit e69bab6

Please sign in to comment.