Giter VIP home page Giter VIP logo

Comments (4)

bytecauldron avatar bytecauldron commented on July 19, 2024

Yes! What a nightmare! Why did I think this was a good idea?

There are many GitHub actions that do this, but due to newer releases of Node, and GitHub's policy to discontinue support for previous versions each year, it guarantees that they will stop working at some point. Maybe there is a way to run the action with the latest version of Node and the respective actions I'm using. 15 minute simple task vs. 4 hour automation, etc, etc.

I've had the most success with this. I just need to make sure I'm providing the appropriate permissions.
https://github.com/lycheeverse/lychee-action

image

There are some caveats. First, it can submit duplicate issues. It doesn't check if the broken link is already listed as a GitHub issue. I'm thinking it would be overkill to run this every month, so probably annually/biannually. Second, I was getting several "too many request" errors from itch.io. Maybe there is a way to limit the amount of requests. Other links appear to work fine. (Most of them are on GitHub, so I would hope they work.)

from awesome-gamemaker.

bytecauldron avatar bytecauldron commented on July 19, 2024

image

Ok, much better. The errors I got were for legitimate 404's, and it looks like itch isn't rate limiting the requests anymore.

By default, lychee has a --max-concurrency of 128, so setting that to 1 definitely fixed the issue with itch. There's probably a sweet spot between 1-128 where the too many requests error gets triggered. Considering this will only run every six months or so, I don't think having a low concurrency will be that big of a deal. Takes less than a minute without it.

from awesome-gamemaker.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.