No check reports stale action SHAs, Dockerfile digests or Go modules
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 55/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- docker, github-actions, go
- 領域
- build-system, ci-cd, devops
研究方向
Read .github/workflows/tool-versions.yml to understand the existing staleness check, then inspect the Dockerfile digests, release workflow action pins, and go.mod. Compare the proposed Dependabot configuration with extending the existing check; the acceptance criteria require reporting stale action pins, image digests, and Go modules, and checking the image's Go patch against the latest patch. Run make test-short and make lint when done.
由索引模型根據 Issue 內容生成。
描述
Summary
The only staleness check covers golangci-lint, GoReleaser, the five scanners and sandbox image end-of-life dates. The 20 SHA-pinned actions, both Dockerfile base image digests and the four Go modules are outside it, and there is no Dependabot or Renovate configuration.
Where
.github/workflows/tool-versions.yml:3-14Dockerfile:5,Dockerfile:6,Dockerfile:25(digests updated by hand).github/workflows/release.yml:31,:85go.mod:5
Details
All three classes are current today (checked by hand for this audit: every action SHA equals its tag and its tag is the latest release; go.mod has no available update; the distroless digest equals the current tag). The golang digest has already drifted from the golang:1.27 tag, though the Go patch version is still the latest.
Impact
The release pipeline builds with two toolchain sources. GoReleaser archives use go-version: '1.27', which floats to the newest patch. The container image is built from the pinned digest, which stays on the Go patch it was pinned at. When a Go patch release ships a standard library fix, the archives pick it up and the image does not, and no job fails. The same silence applies to a new release of an action in the release path and to a new distroless base.
Suggested fix
Either add .github/dependabot.yml with the github-actions, docker and gomod ecosystems (it keeps SHA pins with their version comments and updates digests), or extend tool-versions.yml in the style it already has: compare the Dockerfile digests with docker buildx imagetools inspect, compare each uses: owner/repo@sha # vX with the latest release, and fail on any available update in go list -m -u -json all. For the image toolchain, comparing the Go version of the pinned digest with the latest 1.27 patch catches the case that matters.
Acceptance criteria
- A scheduled check or bot reports a stale action pin, base image digest and Go module
- The image's Go patch version is compared with the latest patch
Related: #52, #51
Getting started
- Relevant files: .github/workflows/tool-versions.yml, Dockerfile, .github/dependabot.yml (new)
- How to run tests:
make test-short(Unix) or.\make.ps1 test-short(Windows PowerShell);make lintbefore you call it done - Related docs: CONTRIBUTING.md, docs/ARCHITECTURE.md
Filed by repo-audit/full-audit at 50e92ec. Severity: low. Effort: M. audit-key: dependencies|.github/workflows/tool-versions.yml|pin-staleness-coverage
- 主要語言
- Go
- 星號
- 0
- 分支
- 1
- 平均合併
- 8 小時 14 分鐘
- 30 天內合併 PR
- 3
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/Spackle 的其他 Issue
-
ci good first issue severity: low
難度 2/5 1-3 小時 新手友好度 77/100
TMHSDigital/Spackle#206 ·
維護者通常 1 天內回覆
-
ci severity: low
難度 2/5 1-3 小時 新手友好度 78/100
TMHSDigital/Spackle#205 ·
維護者通常 1 天內回覆
-
bug good first issue severity: low
難度 2/5 1-3 小時 新手友好度 82/100
TMHSDigital/Spackle#199 ·
維護者通常 1 天內回覆
-
bug good first issue severity: low
難度 2/5 1-3 小時 新手友好度 87/100
TMHSDigital/Spackle#195 ·
維護者通常 1 天內回覆
-
documentation good first issue severity: medium
難度 1/5 1 小時以內 新手友好度 90/100
TMHSDigital/Spackle#188 ·
維護者通常 1 天內回覆
查看 TMHSDigital/Spackle 的全部 Issue
相似的 Issue
-
bug effort:s impact:med raised-by:worker risk:low to:worker
難度 2/5 1-3 小時 新手友好度 78/100
medici-finance/assay#8120 · 1 則留言 ·
維護者通常 1 天內回覆
-
factory:subtask
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
agent-substrate/substrate#4308 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
celestiaorg/celestia-app#8877 ·
維護者通常 1 天內回覆
-
sweep
難度 1/5 1 小時以內 新手友好度 84/100
bketelsen/truenas-mcp#112 ·
維護者通常 1 天內回覆