diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 10283a8..b8e17e1 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -19,10 +19,10 @@ jobs: uses: lycheeverse/lychee-action@v2 with: fail: false - args: --base . --verbose --no-progress --exclude-path 'src/ccbr_tools/templates/**' './**/*.md' './**/*.html' './**/*.rst' + args: --verbose --no-progress --exclude-path 'src/ccbr_tools/templates/**' './**/*.md' './**/*.html' './**/*.rst' - name: Create Issue From File - if: steps.lychee.outputs.exit_code != 0 + if: steps.lychee.outputs.exit_code == 2 uses: peter-evans/create-issue-from-file@v5 with: title: Link Checker Report