Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/dead-links-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Dead Links Check

on:
push:
pull_request:

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Link Checker
uses: lycheeverse/lychee-action@v1.8.0
with:
args: " --suggest --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude-mail -a 403,429 --exclude-path *fin7/Resources/Step7/BOOSTWRITE-src/curl/README.md "
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • -- suggest adds wayback links
  • --verbose --no-progress format of output
  • *.md etc. targeting only selected files (not .c for example) --include-verbatim could add search inside md code blocks
  • -a treats http codes 403 and 429 as good Bitdefender and about two others returns those (due to needed cookies and js) - maybe could be replaced with specific exclusion --exclude
  • --exclude-path this one file is in UTF-16 (?bug?) link checker chrashes on this (very rarely even now after excluding )

fail: true