nodejs / community-committee

The Node.js Community Committee (aka CommComm)
MIT License
263 stars 70 forks source link

ci(automation): add Linkinator GitHub Action #658

Closed bnb closed 3 years ago

bnb commented 3 years ago

This PR adds Linkinator's GitHub Action. Theoretically as a GitHub Action, it'll less aggressively hit the GitHub rate limit which we trigger pretty fast. Not hopeful that it'll work on the first try, but hopeful that we can at least eventually get there with Linkinator... especially since it's by @JustinBeckwith who is wonderful.

JustinBeckwith commented 3 years ago

If you're running into issues with the GitHub rate limit, you can also add a retry option set to true now that will automatically respect the retry-after HTTP header when GitHub returns a HTTP 429. I just pulled this up from the linkinator CLI to the action so you can use it 😄 Only downside here is that the retry-after from GitHub is typically set to 60 seconds, so it can delay your build a bit if it's triggered.

bnb commented 3 years ago

@nodejs/community-committee this should be ready to go. The only link that's failing still is one that's fixed in https://github.com/nodejs/community-committee/pull/667.

Thank you @JustinBeckwith for your help ❤️

JustinBeckwith commented 3 years ago

Absolutely! Please if you have any questions at all, I'm always happy to hop in and help.