Skip to content

ci: wire the shared pinned-uses check (rules 9 and 14) - #36

Merged
braghettos merged 1 commit into
mainfrom
ci/wire-pinned-uses
Dec 1, 2026
Merged

braghettos merged 1 commit into
mainfrom
ci/wire-pinned-uses

Conversation

@braghettos

Copy link
Copy Markdown

Wires the shared pinned-uses check from krateo-blueprints/charts (PUBLISHING.md rule 9: reusable workflows pinned by commit SHA with a version comment; rule 14: no bare helm push/oras push of a chart).

Previously unenforced. Rules 9 and 14 ran in 0 krateo-platformops repositories before this.

Passes on arrival. The float sweep that recorded every bare @main in this repository merged first. The real checker, extracted from pinned-uses.yaml@f7efb919f4c8fbe37b01520e37790ab4b7404e63 and run against this repository's post-merge checkout (CALLER=krateo-platformops/git-provider), measured: rc=0, 0 not pinned (rule 9), 0 bare chart push (rule 14).

Where the job went. Added as a job of a new minimal .github/workflows/lint.yaml (non-reusable, push to main and pull_request to main, the same trigger style as this repository's security.yml). The repository has no lint workflow and no lint-docs job to host it.

The wiring line is itself pinned. The new uses: is cross-owner, so the check checks it: it carries the 40-hex commit of annotated tag 1.14.2 (f7efb919f4c8fbe37b01520e37790ab4b7404e63, dereferenced from the tag object) and the # 1.14.2 comment. Job permissions are contents: read, the only permission pinned-uses.yaml declares; it takes no required inputs.

Nothing else is touched: no float marker, no other job.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N8HNbD9V4fxkaSxajetjxe

Calls krateo-blueprints/charts pinned-uses.yaml at 1.14.2, pinned by commit SHA.
Added as a job of a new minimal `.github/workflows/lint.yaml` (non-reusable, `push` to main and `pull_request` to main, the same trigger style as this repository's `security.yml`). The repository has no lint workflow and no `lint-docs` job to host it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N8HNbD9V4fxkaSxajetjxe
@braghettos
braghettos merged commit 094a8cf into main Dec 1, 2026
4 checks passed
@braghettos
braghettos deleted the ci/wire-pinned-uses branch December 1, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant