Skip to content

Commit 9227c2a

Browse files
adamluiMichaIng
andcommitted
Stripped trailing newline from lychee args, covered all files, disabled verbosity, added check emails/fragments + caching
Co-Authored-By: MichaIng <micha@dietpi.com>
1 parent 34d9fa9 commit 9227c2a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/check-links-on-push-pr.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ jobs:
2222
- name: Check links
2323
uses: lycheeverse/lychee-action@v2.8.0
2424
with:
25-
# Check all MD files, ignore ok/redir/blocked/rate-limited
26-
args: >
27-
"*.md" "**/*.md"
28-
--verbose --no-progress
25+
# Check all files, ignore ok/redir/blocked/rate-limited
26+
args: >-
27+
. --no-progress --include-mail
28+
--include-fragments --index-files README.md,docs/README.md --exclude "#readme"
2929
--accept 200..299,300..399,403,429
30+
--cache --max-cache-age 3d
3031
env:
3132
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)