docs: add looking for maintainers section (#382)
Co-authored-by: winston <[email protected]>
This commit is contained in:
1 parent
af364af8cc
commit
2c967fe807
11 files changed
+137
-380
No files matched your search
@@ -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()}`)
|
||||
|
||||
@@ -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'}}
|
||||
|
||||
Reference in new issue
Block a user