chore(workflow): add pr-size-label workflow file#6381
Conversation
|
我感觉还行?就是 |
这个好说,我想想哪个词合适。 |
|
description 我觉得简单点就好,例如直接 |
我改了下 PR 描述,再看看? |
|
我个人而言对尺码大小没有明确的概念。我推荐使用i18n CFPA社区的以改动行数作为标签,并移除 https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/pulls |
|
@Wulian233 改好了。https://github.com/3gf8jv4dv/HMCL/pulls 的 label 也全部更新了。 |
|
我计划排除更多的非业务文件,例如各类文档、工作流、配置文件等。 |
|
LGTM |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 016ec2a80f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
更新了 workflow,计算行数时会排除更多非业务文件——各类文档、配置文件、资源文件等。 |
|
感觉差不多了。如果还有疑问,可以继续评论或念焚诀。 此外,致维护者的注意事项
|
前段时间我在 #4921 写了篇评论。由于没看到明确的反对、疑问等,我先整理了这个 PR 作为一个尝试。
这个 PR 添加了一个为各 PR 标注代码规模 label 的 workflow。在 https://github.com/UNIkeEN/SJMCL/blob/4b511c8a5adb99de34a123ccf08def036ad29735/.github/workflows/pr-size-label.yml 的基础上改进而来。
在 SJMCL workflow 的基础上,
合并后,在 Actions 页面点击左侧的「PR Size Label」,然后点击页面中的「Run workflow」按钮,在
main分支上运行即可为所有无 label 的 PR 标注 label。如果要采纳这个 PR,需要先在 https://github.com/HMCL-dev/HMCL/labels 页面添加以下 label:
#009900#77bb00#eebb00#ee9900#ee5500#ee0000#ee0000#ee0000我在自己的 fork 里测试了下,目前整理了一批 PR 作为展示:https://github.com/3gf8jv4dv/HMCL/pulls
也可以看看 SJMCL 的实际运作效果:https://github.com/UNIkeEN/SJMCL/pulls