Skip to content

Commit

Permalink
ci: add guidelines to link checking workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
f-hollow committed Aug 20, 2024
1 parent f818b1b commit 85ee045
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr-check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ jobs:
.
# Fail action on broken links
fail: true

- name: Suggestions
if: failure()
run: |
echo -e "\nPlease review the links reported in Link Checker step above."
echo -e "If a link is valid but fails due to a CAPTCHA challenge, IP blocking, login requirements, etc.,
consider adding such links to .lycheeignore file to bypass future checks.\n"
exit 1

0 comments on commit 85ee045

Please sign in to comment.