179 字
1 分钟
你的PR模板checkbox写错了
2026-05-08

你的 PR 模板 checkbox 写错了#

不规范写法
不规范写法
见过这种 PR 模板没?checklist 那一栏,勾选项是 • [✓]
这不是 checkbox。这就是个列表项后面跟了个带括号的 ✓,纯文本,点都点不动。
正确的:
规范渲染效果
规范渲染效果
规范源码
规范源码

- [x] Bug fix (a non-breaking change that fixes an issue)
- [ ] New feature (a non-breaking change that adds functionality)
- [ ] Breaking change
- [ ] Other (please describe):
## Checklist
- [x] I have read the [CONTRIBUTING](https://github.com/saicaca/fuwari/blob/main/CONTRIBUTING.md) document.
- [x] I have checked to ensure that this Pull Request is not for personal changes.
- [x] I have performed a self-review of my own code.
- [x] My changes generate no new warnings.

GFM task list 就一行:- [x] 已完成,- [ ] 未完成。渲染出来是真正的 checkbox,能点。
[✓] 的话,贡献者打勾得手动编辑文本,CI bot 也当普通文字跳过。 在不同系统上长得还不一样,缺字体变方块我都见过。模板里这么写,新来的照着抄,后面到处都是这种东西。

## Type of change
- [ ] Bug fix
- [ ] New feature
- [ ] Breaking change
- [ ] Other:
## Checklist
- [ ] I have read the CONTRIBUTING document.
- [ ] This PR is not for personal changes.
- [ ] I have performed a self-review of my code.
- [ ] My changes generate no new warnings.

默认 - [ ],别帮人预勾。

分享

如果这篇文章对你有帮助,欢迎分享给更多人!

你的PR模板checkbox写错了
https://blog.yuk1.uk/posts/pr-checkbox-format/
作者
鈴葉Yuki
发布于
2026-05-08
许可协议
CC BY-NC-SA 4.0

部分信息可能已经过时