Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude gnu.org and fsf.org from link checker #454

Merged
merged 5 commits into from
Oct 1, 2024
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
7 changes: 5 additions & 2 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ jobs:
with:
# Exclude the image.sc forum (which works) but returns 403 from
# github runners and exclude relative links to other pages. Ignore
# the whole of the project slug README since the links are
# gnu.org and fsf.org because they're often down but are still the right
# websites to link to!
#
# Ignore the whole of the project slug README since the links are
# necessarily not real links - i.e. demos and to be filled by
# cookiecutter values.
args:
"--verbose --exclude https://forum.image.sc/ --exclude docs/pages
"--verbose --exclude https://forum.image.sc/ --exclude http://www.gnu.org --exclude http://fsf.org --exclude docs/pages
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"--verbose --exclude https://forum.image.sc/ --exclude http://www.gnu.org --exclude http://fsf.org --exclude docs/pages
"--verbose --exclude https://forum.image.sc/ --exclude
http://www.gnu.org --exclude http://fsf.org --exclude docs/pages

--exclude-path '{{cookiecutter.project_slug}}/README.md' -- ."
fail: true
jobSummary: true
Expand Down