Skip to content

Run the ci-status runner-policy gate from the standards checkout #18713

Done

Description

@kyle-sexton

Goal

The ci-status gate job (lint-repo in .github/workflows/pr-require-checks.yml) runs the runner-policy engine from a run-time checkout of melodic-software/standards (components/runner-policy/) instead of from the synced copy under .github/standards/runner-policy/. Docs and config that point babysit at the copy point at the standards component instead.

Basis

Brief acceptance Q2 of the standards sync track (owner decision D1): CI-only synced files (runner-policy, vocabulary, trusted-actors, dependabot-policy) are read from a run-time checkout of standards main that records its SHA; every reader is repointed, and gating files change expand-then-contract (readers move first, copies are deleted last). This change moves the gate's runner-policy reader; it deletes nothing (the .github/standards/runner-policy/ copy, its Dependabot entry and its CODEOWNERS lines stay until the deletion PR), removes no hold path and loosens nothing. The engine and policy.json in standards main are byte-identical to the copy today, so the gate's verdict does not change. The previous reader move is #18645 (spec #18644).

Done when

  • The lint-repo job checks out the run's standards commit with melodic-software/ci-workflows/.github/actions/download-standards@main, gated on the workflows filter group like the rest of the runner-policy steps.
  • The job installs the engine's dependencies with npm ci --prefix "<standards path>/components/runner-policy" and runs node "<standards path>/components/runner-policy/runner-policy.mjs" --root .; no step of the job reads .github/standards/runner-policy/.
  • The npm cache key no longer hashes .github/standards/runner-policy/package-lock.json (hashFiles reads only the workspace) and no setup-node cache option names a file under the standards checkout.
  • docs/conventions/source-control.yaml runner_policy_paths no longer names the synced copy; docs/ci-runner-routing.md names components/runner-policy/policy.json in melodic-software/standards as where the approved reusable-workflow contracts live.
  • actionlint passes on the changed workflow, and the standards engine passes against this repository (runner-policy.mjs --root . --repository-visibility public).

Activity

  1. added
    session-owned
    on Nov 24, 2026
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

    session-owned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions