Skip to content

Commit bb4f5b0

Browse files
Merge branch 'sindresorhus:main' into main
2 parents 9ba57f6 + 7cb5c83 commit bb4f5b0

5 files changed

Lines changed: 44 additions & 72 deletions

File tree

.github/workflows/repo_linter.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/bin/bash
2+
set -eo pipefail
23

34
# Find the repo in the git diff and then set it to an env variables.
45
REPO_TO_LINT=$(
56
git diff origin/main -- readme.md |
67
# Look for changes (indicated by lines starting with +).
7-
grep ^+ |
8+
(grep ^+ || true) |
89
# Get the line that includes the readme.
9-
grep -Eo 'https.*#readme' |
10+
(grep -Eo 'https.*#readme' || true) |
1011
# Get just the URL.
1112
sed 's/#readme//')
1213

@@ -15,7 +16,7 @@ if [ -z "$REPO_TO_LINT" ]; then
1516
echo "No new link found in the format: https://....#readme"
1617
else
1718
echo "Cloning $REPO_TO_LINT"
18-
mkdir cloned
19+
mkdir -p cloned
1920
cd cloned
2021
git clone "$REPO_TO_LINT" .
2122
npx awesome-lint

awesome.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The awesome manifesto
22

3-
If you want your list to be included on `awesome`, try to only include actual awesome stuff in your list. After all, it's a curation, not a collection.
3+
If you want your list to be included in `awesome`, try to only include actual awesome stuff in your list. After all, it's a curation, not a collection.
44

55
But **what is awesome?**
66

create-list.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
- Read the [Awesome manifesto](awesome.md) and [list guidelines](pull_request_template.md) and ensure your list complies.
44
- Search this list before making a new one, as yours may be a duplicate. If it is, try and contribute to the best one instead of making your own.
5-
- You might find [this Yeoman generator](https://github.com/dar5hak/generator-awesome-list) useful.
65
- **Wait at least 30 days after creating a list before submitting it, to give it a chance to mature.**
76
- **Make sure you read the [list guidelines](pull_request_template.md) again before submitting a pull request for your list to be added here.**
87

pull_request_template.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212

1313
## Requirements for your pull request
1414

15+
- [ ] Fully AI-generated pull requests are not accepted.
1516
- [ ] Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it. **Instead use [#2242](https://github.com/sindresorhus/awesome/issues/2242) for incubation visibility**.
1617
- [ ] **Don't waste my time.** Do a good job, adhere to all the guidelines, and be responsive.
17-
- [ ] **You have to review at least 2 other [open pull requests](https://github.com/sindresorhus/awesome/pulls?q=is%3Apr+is%3Aopen).**
18+
- [ ] **You have to review at least 4 other [open pull requests](https://github.com/sindresorhus/awesome/pulls?q=is%3Apr+is%3Aopen).**
1819
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. **Just commenting “looks good” or simply marking the pull request as approved does not count!** You have to actually point out mistakes or improvement suggestions. Comments pointing out lint violation are allowed, but does **not** count as a review.
1920
- [ ] You have read and understood the [instructions for creating a list](https://github.com/sindresorhus/awesome/blob/main/create-list.md).
2021
- [ ] This pull request has a title in the format `Add Name of List`. It should not contain the word `Awesome`.
@@ -41,6 +42,7 @@
4142
## Requirements for your Awesome list
4243

4344
- [ ] **Has been around for at least 30 days.**<br>That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
45+
- [ ] Is not AI-generated.
4446
- [ ] Run [`awesome-lint`](https://github.com/sindresorhus/awesome-lint) on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please [report it](https://github.com/sindresorhus/awesome-lint/issues/new).
4547
- [ ] The default branch should be named [`main`, not `master`](https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/).
4648
- [ ] **Includes a succinct description of the project/theme at the top of the readme.** [(Example)](https://github.com/willempienaar/awesome-quantified-self)
@@ -61,7 +63,7 @@
6163
- ❌ `# awesome-swift`
6264
- ❌ `# AwesomeSwift`
6365
- [ ] Non-generated Markdown file in a GitHub repo.
64-
- [ ] The repo should have `awesome-list` & `awesome` as [GitHub topics](https://help.github.com/articles/about-topics). I encourage you to add more relevant topics.
66+
- [ ] The repo should have `awesome-list` & `awesome` as [GitHub topics](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics). I encourage you to add more relevant topics.
6567
- [ ] Not a duplicate. Please search for existing submissions.
6668
- [ ] Only has awesome items. Awesome lists are curations of the best, not everything.
6769
- [ ] Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.

0 commit comments

Comments
 (0)