Skip to content

Reference first-party actions at main and official vendor actions by major tag #18556

Description

@kyle-sexton

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 use ref: 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.sh and its test are deleted, and the workflow's merge-floor row is removed by regenerating with scripts/sync-hold-floor.py.
  • The ci-workflows-commits field of .github/actions/resolve-config/lane-grants.json and its tests are removed. Nothing reads it: the azure-iac lanes token broker reads no lane-grants.json, and src/lanes-token-broker/src/claims.mjs:312-319 only checks that job_workflow_sha has the shape of a SHA.
  • The Dependabot ignore for melodic-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.

Activity

  1. added
    needs-triage
    on Nov 23, 2026
  2. github-actions commented on Nov 23, 2026

    @github-actions
    Contributor

    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, the ci-workflows-commits grant 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 main in the first-party repositories. The issue says ci-workflows stays behind its own pull request, CI Status and 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.

  3. removed
    needs-triage
    on Nov 23, 2026
  4. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    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: cost

  5. melodic-automation-lanes commented on Nov 23, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: admission moved the issue to needs-owner-decision; its comment says why.

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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-owner-decision

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions