docs: add looking for maintainers section (#382)

Co-authored-by: winston <[email protected]>
This commit is contained in:
Hamothyandwinston authored and GitHub committed 2023-12-17 01:40:43 +00:00
1 parent af364af8cc
commit 2c967fe807
11 files changed
+137 -380

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ await syncIssueLabels(userstylesData.userstyles);
await updateFile(
join(REPO_ROOT, ".github/CODEOWNERS"),
Object.entries(userstylesData.userstyles)
.filter(([_, { readme }]) => readme["current-maintainers"].length > 0)
.map(([slug, { readme }]) => {
const currentMaintainers = readme["current-maintainers"]
.map((maintainer) => `@${maintainer.url.split("/").pop()}`)
+5
View File
@@ -49,10 +49,15 @@
{{/each}}
{{/if}}
{{#if collaborators.currentMaintainers.length}}
## 💝 Current {{pluralize collaborators.currentMaintainers 'Maintainer'}}
{{#each collaborators.currentMaintainers}}
- [{{name}}]({{url}})
{{/each}}
{{else}}
## 🚧 Looking for Maintainers 🚧
- If you are interested in maintaining this userstyle, please raise a **Pull Request** and add yourself into the `current-maintainers` array in the `userstyles.yml` file.
{{/if}}
{{#if collaborators.pastMaintainers}}
## 💖 Past {{pluralize collaborators.pastMaintainers 'Maintainer'}}