all-contributors / all-contributors/cli

Custom link for contribution categories

未关闭
#88 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
pinned priority: medium status: available type: enhancement
主要语言
JavaScript
星标
425
派生
149
PR 合并指标
30 天内没有已合并 PR

描述

Hi there,

I'd like to propose a feature when generating links for "ideas" contribution.
It would be handy to allow changing the link, without replacing the whole template.

Currently, the links for "ideas" are generated like this:

```
#ideas-{username}
```

I'd like to customize it to link to GitHub Issues. As this can vary from project to project, maybe `all-contributors-cli` could support link templates, per contribution category?

On `"ideas"` contributions we could have a couple of options, such as:

1. Issues created by that user:

```
/{projectOwner}/{projectName}/issues/created_by/{username}
```

2. Filtering issues with a specific label (`"ideas"` / `"proposal"` / etc)

```
/{projectOwner}/{projectName}/issues?q=author%3A{username}+label%3Aideas
```

What's your thoughts on this? Cheers!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。