Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [Feature]: 建议规范化 PR 发布内容 #1897

Open
fu050409 opened this issue Jun 19, 2024 · 0 comments
Open

✨ [Feature]: 建议规范化 PR 发布内容 #1897

fu050409 opened this issue Jun 19, 2024 · 0 comments
Labels

Comments

@fu050409
Copy link
Collaborator

What problem does this feature solve

在 DevUI 社区参与贡献的过程中,我发现有很多 issue 所关联的 PR 已经被合并到dev分支之后,该 issue 依旧没有被关闭。而实际上关联的 PR 已经解决了此 issue 中提出的所有问题,所以我们完全可以关闭这个 issue,人工审查 issue 是否需要被关闭显然是低效的。

我们认为我们应该为此创建一个 PR 模板,引导贡献者关联 PR,同时引导贡献者对其发起的 PR 做出说明来便于我们对 PR 进行审查。

What does the proposed API look like

例如:

# <!-- 标题,为什么发起这个 PR? -->

Resolved: <!-- #ISSUE_ID -->

<!--

这是 GitHub 的 PR 关联语法,例如 `Resolved #39`,这会使得你的 PR 与 #39 关联,在你的 PR 被审查通过并合并后,#39 会被同步关闭。

-->

## 修改了什么?

<!--

(如果可以的话,包含一些代码片段,截屏或 Gif 动图)

检查以下:

1. 我已经在开发环境中审核了我的更改,可以通过此 PR 时间轴中的查看部署链接进行查看(此链接将在打开 PR 后可用)。

2. 对于内容更改,我已完成自我审核清单。

3. 我已经对我的代码完成了测试和审计。

-->

内容参考:https://github.com/noctisynth/Quantumix/blob/main/.github/PULL_REQUEST_TEMPLATE.md?plain=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant