From c66d90a096e77133b59ceb9c85b862e7ec1fca2c Mon Sep 17 00:00:00 2001 From: Andreas Taylor Date: Sun, 29 Sep 2024 17:08:23 -0500 Subject: [PATCH] Add --exclude optional parameter --- .github/workflows/check-links.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index fd5e698..8096e00 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -25,8 +25,8 @@ on: description: Message to display in job summary required: false type: string - override-args: - description: Override default arguments (see https://github.com/lycheeverse/lychee#commandline-parameters) + exclude: + description: URLs excluded from checking (need to include '--exclude' option text in string if using) required: false type: string @@ -41,7 +41,7 @@ jobs: with: # args: --base . --verbose --no-progress -a '200,403,429,500' './**/*.md' # args: --config ./.github/workflows/lychee.toml './**/*.md' - args: --verbose --no-progress -a '200,403,429,500' --base . ./**/*.md + args: ${{ inputs.exclude }} --verbose --no-progress -a '200,403,429,500' --base . ./**/*.md fail: true - name: Link Checker user-supplied args if: ${{ inputs.override-args }}