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

Ensure automated backport commits have verified signatures

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

维护者通常 1 天内回复

@asivanadi0 已经在做这个了。

开始于 2026年10月2日。

  • #2998 来自 @asivanadi0 —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
git, github, javascript
领域
ci-cd, devops

调研方向

Read .github/scripts/backport.js and the approach in NVIDIA/nvidia-container-toolkit PR #2012, then inspect the compatibility described in #2992. Verify both clean backports and conflict-resolved backports through backport CI. Done means generated commits report verified: true, preserve their trees and messages, and retain existing PR creation and conflict handling.

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

描述

good-first-issue

The cherry-pick workflow currently creates backport commits locally and pushes them without signing. Recent automated backports report verified: false with reason unsigned, even when the original commits were signed.

This is incompatible with CI signature verification proposed in #2992 and branch protection requiring signed commits.

Update .github/scripts/backport.js to produce verified backport commits. Follow the approach implemented in nvidia-container-toolkit PR #2012:

  • Recreate each cherry-picked commit through GitHub’s Git Data API, preserving its tree, message, and commit order.
  • Update the backport branch to reference the resulting signed commit chain.
  • Preserve existing PR creation and conflict-handling behavior.
    This approach avoids managing a separate GPG or SSH signing key for the bot.

Acceptance criteria:

  • GitHub reports verified: true for every generated backport commit.
  • Backports preserve the expected changes and commit messages.
  • Backport CI passes the signature-verification gate when enabled.
  • Both clean backports and backports requiring manual conflict resolution remain supported.
主要语言
Go
星标
2.9k
派生
576
平均合并
1 天 9 小时
30 天内合并 PR
78

环境准备

从这里开始

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

NVIDIA/gpu-operator 的其他 Issue

查看 NVIDIA/gpu-operator 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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