Verify the triggering commit before running other CI jobs
维护者通常 1 天内回复
评估
调研方向
Start with .github/workflows/ci.yaml to map its jobs and existing needs, then add the reusable .github/workflows/commit-verification.yaml workflow using github.sha and GitHub signature-verification metadata. Update every other CI job to depend on commit-verification while preserving existing dependencies. Done means an unverified or unavailable commit fails with its SHA and reason, and dependent jobs run only after successful verification.
由索引模型根据 Issue 内容生成。
描述
PRs can pass DCO while containing unsigned or unverified commits. DCO sign-off does not verify commit signatures.
Add a reusable workflow, .github/workflows/commit-verification.yaml, with:
on:
workflow_call: {}
permissions:
contents: read
The workflow should check GitHub’s signature-verification metadata for the triggering commit (github.sha) and fail if it is not verified. Report the commit SHA and verification reason, and fail if verification metadata cannot be retrieved.
Call it from .github/workflows/ci.yaml:
jobs:
commit-verification:
permissions:
contents: read
uses: ./.github/workflows/commit-verification.yaml
Make all other CI jobs depend on commit-verification through needs, preserving existing dependencies, so verification runs first and subsequent jobs run only after it succeeds.
- 主要语言
- Go
- 星标
- 2.9k
- 派生
- 569
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 78
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/gpu-operator 的其他 Issue
-
[Bug]: Driver upgrade does not evict pods that use nvidia.com/gpu only in a native sidecar可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
NVIDIA/gpu-operator#3026 ·
维护者通常 1 天内回复
-
Make NVIDIADriver node-pool rendering deterministic可能已有人在做 @efegokdemir 于 8 天前认领。 未关闭dsx-ws-0930 good-first-issue
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/gpu-operator#2981 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: GPUCluster common name label breaks DRA validator selector可能已有人在做 @ajavanma 于 16 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/gpu-operator#2955 · 1 条评论 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 4/5 3-5 天 新手友好度 48/100
NVIDIA/gpu-operator#3027 ·
维护者通常 1 天内回复
-
Ensure automated backport commits have verified signatures可能已有人在做 @asivanadi0 于 7 天前认领。 未关闭good-first-issue
难度 4/5 3-5 天 新手友好度 55/100
NVIDIA/gpu-operator#2997 · 1 条评论 ·
维护者通常 1 天内回复
查看 NVIDIA/gpu-operator 的全部 Issue
相似的 Issue
-
Change wording for init command success message可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement pkg:sdk
难度 2/5 1-3 小时 新手友好度 80/100
aws/aws-durable-execution-sdk-go#144 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudflare/cloudflared#1761 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复