Skip to content

[org] Tracking: roll out SHA-pinned actions to the remaining ~30 repos #18

Closed as not planned

Description

@bketelsen

ADR-0021 (SHA-pinned actions, version as trailing comment) is enforced by tests in chairlift, pilothouse, and lab, and followed in snosi, updex, and firn — but a full scan of local checkouts (2026-08-11) shows every other repo with workflows still uses tag refs (@v4, @v6, …). Tags are mutable; a hijacked upstream tag executes in our CI.

Repos with tag-pinned actions (secret-bearing release pipelines marked ⚠):
agent-readiness-score, bootc, bootc-debian ⚠, bootc-installer, clix, dakota-iso, debian-bootc-core ⚠, debian-bootc-gnome ⚠, fisherman, first-setup ⚠, gchlog ⚠, igloo ⚠, incus ⚠, intuneme ⚠, mentat, mentat-go, mill, millhouse, nbc ⚠, oldfirn, plow, pm ⚠, repogen ⚠, rime, site, snosisave, snow ⚠, snowdesktop ⚠, snowkit, snowlive ⚠, titanoboa ⚠, www-snowlinux, yeti (retired — consider archiving instead), yeti-frostyard

Already clean: snosi, updex, chairlift, pilothouse, lab, firn.

Mutable-branch refs (@main/@master/@latest) are split out into their own issues since they are strictly worse — see the publish-to-r2 issue and the mutable-refs issue.

Suggested rollout:

  1. ⚠ repos first (they hold ORG_PAT/R2/GPG/SSH secrets — see [org] ORG_PAT needs Pull requests read/write; document the token's full contract #15 for the ORG_PAT inventory).
  2. Batch the mechanical pinning per repo (one PR each; a pinning tool or agent sweep makes this cheap).
  3. Where a repo has a test harness, add the enforcement test (chairlift internal/installcheck/workflows_test.go / pilothouse internal/workflowcheck pattern) so it can't regress.
  4. Repos with Dependabot/Renovate keep SHAs fresh automatically once pinned.

Ref: https://github.com/frostyard/core/blob/main/docs/adr/0021-sha-pinned-actions-and-least-privilege-ci.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions