Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ci check `lint templates` flags all authors with localhost in name/email

未关闭 适合新手
#63,249 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, shell
领域
ci-cd

调研方向

从报告所指的第39行 common/scripts/lint-commits 开始,检查它如何验证提交作者的姓名和电子邮件地址。通过在作者姓名或电子邮件地址中使用 localhost 或 localdomain 创建提交,并运行 CI 检查 Lint templates 来复现问题。当这些作者信息不再导致 lint 错误,同时检查仍能检测出预期的无效情况时,任务即告完成。

由索引模型根据 Issue 内容生成。

描述

bug needs-testing
Is this a new report?

Yes

System Info

Void 6.18.58_1 x86_64 GenuineIntel notuptodate rFFFFFF

Package(s) Affected

void-packages

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

CI Lint templates > Run lints does not find errors on commit author when email/name contains localhost

Actual behaviour

https://github.com/void-linux/void-packages/pull/63246#issuecomment-6473096936
https://github.com/void-linux/void-packages/actions/runs/40726730986/job/122951887624?pr=63246
https://github.com/void-linux/void-packages/blob/d95dfc30bc40c1dafe4877f5d15307bbcce8801e/common/scripts/lint-commits#L39 Error: authored by localhost email

Steps to reproduce

Commit change with author email/name containing localhost/localdomain and push to pr to run on ci

主要语言
Shell
星标
3.5k
派生
2.8k
平均合并
2 天 7 小时
30 天内合并 PR
327

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

void-linux/void-packages 的其他 Issue

查看 void-linux/void-packages 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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