mirror of
https://github.com/sindresorhus/awesome.git
synced 2026-05-08 11:48:32 -05:00
[GH-ISSUE #1365] Suggestion: Add CI to automate heavy PR load #11071
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @transitive-bullshit on GitHub (Jul 29, 2018).
Original GitHub issue: https://github.com/sindresorhus/awesome/issues/1365
This would ideally combine awesome-lint with a linter for the pull requests themselves and the main
awesomereadme.Related to #1363 and the goal of maintaining Sindre's sanity 💯
Here's my proposed game plan:
awesome-lintthat lints this repo'sreadme.mdto verify formatting and extract all the sub-listsawesome-lintThere will be some existing awesome lists that don't pass
awesome-lint, so we could whitelist these for now and incrementally fix them until the whitelist can be removed.This would also put more onus on the
awesome-lintproject which appears to have been inactive for some time.Possible future extensions:
awesome-lintin the defaultawesomelist template such that it would be enforced via CI for sub-awesome lists going forwards.@sindresorhus I'd be happy to spearhead this, since I really believe these lists help countless developers out there every day, and the current gameplan of manual reviewing (even with the help of fellow list-makers) seems sub-optimal.
@sindresorhus commented on GitHub (Jul 29, 2018):
I honestly think this will just create more work for us with false-positives. It's really hard to correctly lint Markdown and many of the things I comment on cannot be automatically linted.
I guess we could experiment with
awesome-lintin some Awesome lists first, so any issues would only disrupt those lists an not the main Awesome list.In short,
awesome-lintwill need a lot of work to be production-ready and nobody has been willing to do it. Are you?@sellisd commented on GitHub (Jul 29, 2018):
How about a complementary approach: encourage the automated generation of awesome lists.
To generate an awesome list that conforms to the requirements not much are needed:
A string with the title of the list
A header in markdown format
A footer in markdown format
An enum for license choice
A free text for code of conduct or other necessary files
A short script in ones favorite language could do the trick.
@sindresorhus commented on GitHub (Jul 29, 2018):
@sellisd Awesome lists should be hand-made.
We already link to a generator to make it easier to get started: https://github.com/dar5hak/generator-awesome-list
@transitive-bullshit commented on GitHub (Jul 29, 2018):
Yes :) See my first PR for awesome-lint. I've actually worked quite a bit with unist and the remark ecosystem, and I'm excited to work on this.
There will still be a need for manual review of submissions, but I really think that just having an obvious RED LIGHT when someone creates a PR request because of failing some basic linting check will make your life easier as a maintainer.
Our goal with the linter shouldn't be to catch all false-positives. It should be to make it very clear when submitting that the author hasn't adhered to basic guidelines. As long as the linter can't produce false-negatives (e.g., linter says your readme is invalid, but it's really okay), then I think this will be an overall win for cutting down the time it takes to deal with submissions.
@sindresorhus commented on GitHub (Jul 29, 2018):
@transitive-bullshit Good to hear. Let's make this happen then :)
@sisirkoppaka commented on GitHub (Dec 24, 2019):
@sindresorhus @transitive-bullshit Added a PR ( #1675 ) for linting awesome itself with
awesome-lintas a GitHub Action which should shine more light early in the PR review process on linting success check.Do share your thoughts.
@brandonzane11 commented on GitHub (Apr 22, 2025):
How can I fix?
@Angel-Mathew007 commented on GitHub (Sep 4, 2025):
Hi @sindresorhus and everyone,
It would be great to revisit this and improve the linting setup for Awesome itself. Enhancing awesome-lint and integrating a robust CI workflow could help maintain quality and consistency across lists.
If anyone wants to collaborate or needs help with this, I’m happy to contribute!
@its-abhaykumar commented on GitHub (Jan 19, 2026):
Thanks for this excellent suggestion!
I’d like to help implement CI for this repo. I propose using a workflow that:
awesome-linton all PRsBefore building it, I’d like feedback on stack choice (GitHub Actions vs. others) and whitelist policy.