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

[CI] update link checker and handle status 429 (too many requests) #356

Merged
merged 5 commits into from
Oct 16, 2024

Commits on Oct 16, 2024

  1. [CI] update checkout version

    Fixes workflow warning.
    egpbos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    37eb1dd View commit details
    Browse the repository at this point in the history
  2. [CI] link checker: update action version + ignore 429

    Especially gnu.org is giving a lot of 429 statuses (too many requests), seems like it doesn't like GitHub spam. There doesn't seem to be much one can do about this, so let's just ignore this code (add it to the accept list) and hope people run the link checker on the GNU links locally every now and then. In a way, accepting this code is not wrong, because a benevolent server will not give 429 if the URL is invalid (it will give 404 instead), so in a way 429 may signify that the URL is valid (it just won't load for you right now).
    egpbos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6b1f34c View commit details
    Browse the repository at this point in the history
  3. add workflow_dispatch

    egpbos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    34d6484 View commit details
    Browse the repository at this point in the history
  4. [CI] remove 10 allowed failing links

    Handling all broken links does not seem unfeasible, especially when handling 429 statuses. Lychee has some other options like excluding certain domains, that we could use in exceptional cases.
    egpbos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0402d00 View commit details
    Browse the repository at this point in the history
  5. fix 3 broken links

    egpbos committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    b46b85a View commit details
    Browse the repository at this point in the history