Skip to content

Commit

Permalink
Add --exclude optional parameter
Browse files Browse the repository at this point in the history
Andy4495 committed Sep 29, 2024
1 parent 6e7faa0 commit c66d90a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit c66d90a

Please sign in to comment.