Repository navigation
Description
Goal
This repository references the actions it owns at @main and official vendor actions by their moving major tag. Only third-party actions stay SHA-pinned. Today about 1,300 uses: refs are SHA-pinned, and a daily repin workflow keeps the ~750 ci-workflows pins on one release.
Owner decision
Row "Action pinning (D3)" in architecture docs/owner-decisions.md L351, 2026-11-23. Owner, verbatim:
"make sure that if anything's pinned, it's 100% necessary. If it's owned by us, it should not be pinned. If it involves an untrusted third-party library ... it should be pinned, as long as those still flow automatically through Dependabot and cooldowns ... official vendor like Microsoft or Anthropic or OpenAI ... those I don't want pinned"
The row's decision, quoted exactly: "no pin on melodic-software/* or official vendors (actions/*, github/*, dependabot/*, Microsoft/Azure, Anthropic, OpenAI); third-party actions stay hash-pinned, enforced by zizmor unpinned-uses and moved by Dependabot with cooldowns."
Related row on the ci-workflows repository itself (L361), quoted exactly: "Decision: (1). ci-workflows stays SHA-pinned, an exception to D3 for that one repository." The owner chose (1), "keep it as defense-in-depth, since every repository's CI runs ci-workflows code". So a change reaches ci-workflows main only through that repository's own gate: a pull request, CI Status and signed commits under its rulesets, with its own internal refs SHA-pinned. That gate is the review a change gets before callers here run it at @main.
Done when
- Every
melodic-software/*uses:ref in this repository's workflows and composite actions is@main, and the ci-workflows classifier checkouts useref: main. - Every official vendor
uses:ref is at the vendor's moving major tag, which exists upstream. - Every third-party
uses:ref stays SHA-pinned. - The repin workflow
maintenance-repin-ci-workflows.yml,scripts/repin-ci-workflows.shand its test are deleted, and the workflow's merge-floor row is removed by regenerating withscripts/sync-hold-floor.py. - The
ci-workflows-commitsfield of.github/actions/resolve-config/lane-grants.jsonand its tests are removed. Nothing reads it: the azure-iac lanes token broker reads nolane-grants.json, andsrc/lanes-token-broker/src/claims.mjs:312-319only checks thatjob_workflow_shahas the shape of a SHA. - The Dependabot
ignoreformelodic-software/ci-workflows/*is removed. - The tests that assert pins assert the new rule: first-party at
@main, vendors by tag, everything else by full commit. - ADR 0129 records the decision and supersedes ADR 0085 Decision 4.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 23, 2026
Size: Large
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: Every workflow and composite action's
uses:refs (about 1,300 of them), the repin workflow and script,lane-grants.json, the Dependabot config, the pin-asserting tests and ADR 0126. Maintainers and every CI run in this repository read these.Reversible: yes; revert the change and re-run the repin workflow to restore the SHA pins.
Open questions: none
I understood this as a request to implement the owner's D3 action-pinning decision. First-party
melodic-software/*refs go to@main, official vendor actions go to their moving major tag, and third-party actions stay SHA-pinned. The repin tooling, theci-workflows-commitsgrant field and the Dependabot ignore are removed. The tests are updated and ADR 0126 is added.The issue quotes the decision and gives an exact done-when list, so I'm treating it as settled design work and asking nothing. The work is too large for one change, so it will likely need splitting. For example, the ref rewrite, the tooling removals, the tests and the ADR could each be their own change.
One thing to check when it is worked: unpinned first-party refs run whatever is on
mainin the first-party repositories. The issue says ci-workflows stays behind its own pull request,CI Statusand signed-commit gate, and the security review lane should confirm that.I found no open duplicate and no recently merged pull request that already covers this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 23, 2026
Not admitted to the issue lane: its title or stated work names a charge (azure), which needs an owner decision. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).Reason:
costmelodic-automation-lanes commentedon Nov 23, 2026
The latest triage verdict holds nothing: admission moved the issue to
needs-owner-decision; its comment says why.