No check reports stale action SHAs, Dockerfile digests or Go modules
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Fonctionnalité
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- docker, github-actions, go
- Domaine
- build-system, ci-cd, devops
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Go
- Étoiles
- 0
- Forks
- 1
- Merge moyen
- 8 h 14 min
- PR mergées (30 j)
- 3
Préparer son environnement
Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/Spackle
-
ci good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
TMHSDigital/Spackle#206 ·
Les mainteneurs répondent en général sous 1 jour
-
ci severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
TMHSDigital/Spackle#205 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
TMHSDigital/Spackle#199 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 87/100
TMHSDigital/Spackle#195 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue severity: medium
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
TMHSDigital/Spackle#188 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TMHSDigital/Spackle
Issues similaires
-
deskclose human-decided leaves the legacy decision-needed label and applies no human-decidedOuvertebug effort:s impact:med raised-by:worker risk:low to:worker
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
medici-finance/assay#8120 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
factory:subtask
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
agent-substrate/substrate#4308 ·
Les mainteneurs répondent en général sous 2 jours
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
celestiaorg/celestia-app#8877 ·
Les mainteneurs répondent en général sous 1 jour
-
sweep
Difficulté 1/5 Moins d'une heure Accessibilité débutants 84/100
bketelsen/truenas-mcp#112 ·
Les mainteneurs répondent en général sous 1 jour