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

fix(ci): signed-commit check fails pr-refine on PRs over 250 commits even when the lane made no commits

未关闭
#7,256 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@kyle-sexton 已经在做这个了。

开始于 2026年10月18日。

  • #8237 来自 @kyle-sexton —— 未关闭

评估

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

调研方向

Start with .github/actions/check-signed-commits/check-signed-commits.mjs, especially the 250-commit cap, completeness check, and escalation label request. Trace how the action identifies commits made by the lane and how it handles a lane with no commits; use the observed run on #7009 as a reference. Done means the check covers only the lane's commits, skips empty lanes, and a failed label write warns without failing the job.

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

描述

needs-triage priority: medium

Problem

On a pull request with more than 250 commits, pr-refine / fix-docs fails even when the lane made no commits.

  • .github/actions/check-signed-commits/check-signed-commits.mjs:14 sets LISTED_COMMITS_CAP=250. Past the cap, line 92 sets complete=false, so allVerified is false even when every listed commit is verified.
  • The escalation then POSTs a label to issues/<n>/labels. That fails with 403 because the token has no issues write, and the failed POST becomes a hard failure.
  • The check runs even when the lane produced no commits ("The activity made no commits"), so there is nothing of the lane's to check.

Observed on #7009 (259 commits), run 38179498135: check-run summary "A commit on the pull request is not GitHub-verified."; step "Check the lane's commits are signed": "POST .../issues/7009/labels failed with status 403".

Expected

  • Skip the signed-commit check when the lane made no commits.
  • Check only the lane's own commits, not the PR's full history, so the 250-commit list cap does not apply.
  • A failed escalation label write should be a warning, not a job failure.
主要语言
Shell
星标
22
派生
2
平均合并
8 小时 41 分钟
30 天内合并 PR
892

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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