318 字
2 分钟
你的PR模板checkbox写错了
你的 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/分享文章
生成精美分享图或复制链接,与更多人分享本文。
继续阅读
换条路线
从其他文章中稳定抽取
最后更新于 ,距今已过 179 天
部分内容可能已过时
评论