Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .github/workflows/pr-check-links-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ jobs:
run: git switch -- "$HEAD_REF"

- name: Append links-baseline.txt to .lycheeignore
run: cat links-baseline.txt >> .lycheeignore
# .lycheeignore lines are parsed as regexes; escape metacharacters so
# baseline URLs are treated literally (e.g. `?data={...}` in a URL is
# an invalid regex quantifier and aborts lychee with a parse error).
run: sed 's/[][\.^$*+?(){}|]/\\&/g' links-baseline.txt >> .lycheeignore

- name: Dump names of files altered in PR and append hash sign to find links with anchors
run: |
Expand Down
Loading