mirror of
https://github.com/sindresorhus/awesome.git
synced 2026-05-07 19:34:22 -05:00
[PR #1851] [CLOSED] auto awesome-lint any list added to the readme in a PR #1898
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?
📋 Pull Request Information
Original PR: https://github.com/sindresorhus/awesome/pull/1851
Author: @RayBB
Created: 8/17/2020
Status: ❌ Closed
Base:
main← Head:ci-cd📝 Commits (10+)
632fe1aadd ci cd4b2f559all betabb9f28dexport3ed673astatuse988445depth 0beee3d9fetch-depth: 02014b39fetch52acd89mainf73ecccdiff4d38db8diff 2📊 Changes
1 file changed (+43 additions, -0 deletions)
View changed files
➕
.github/workflows/main.yml(+43 -0)📄 Description
I really appreciate this project and wanted to try to give back so it's a little easier for everyone involved.
To that end, I created this PR to automatically lint new lists when someone opens a PR to add them.
Benefits
awesome-lintRisks
What it does
How it does it
This PR creates a GitHub action that will do the following every time a new commit is pushed to an open PR:
git diffawesome-linton that repo.The above 3 steps will ONLY run if
readme.mdis changed.If readme is changed and no new URL is detected in the readme it will fail with a helpful error message.
Error can be ignored if it is a cosmetic PR
Here are examples of failing commits.
Final notes
"Squash and Merge" this PR or let me know and I will squash it manually.
Feel free to edit this any way you see fit or ask me to make the edits. 👍
If there are any questions on how this works drop them here and I'll try my best to answer.
Again, thanks so much for all the hard work the maintainers put into this repo! 👏
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.