From e69bab645c085f2285a74984d02c3778a89835fe Mon Sep 17 00:00:00 2001 From: Andreas Taylor Date: Tue, 1 Oct 2024 11:15:57 -0500 Subject: [PATCH] add ./extras/**/*.md as a default glob to check --- .github/workflows/check-links.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index e670627..55668e0 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -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: @@ -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 }}