Skip to content

ci: workflows read the trusted list and policies from a standards checkout at one commit - part 2 of 3 #18721

Not planned

Description

@melodic-automation-lanes

Part 2 of 3 of #18717, split at intake (owner Q93). The done-when below is copied from #18717 as written.

Done when

  • Each job in the 25 workflows listed in the PR that reads one of these files runs melodic-software/ci-workflows/.github/actions/download-standards@main (step id standards) right after its .base checkout, before any head code, under the same if: as that checkout.
  • In those jobs, every TRUSTED_ACTORS_PATH, TRUSTED_ACTORS, LIST and DEPENDABOT_POLICY env that named a .base/.github/standards/... file names the same file under ${{ steps.standards.outputs.path }}/components/. Every resolve-config, check-trusted-trigger, select-trusted-text, check-born-triaged and check-wip-cap call passes standards-path: ${{ steps.standards.outputs.path }} in place of trusted-actors-path. Every step that runs a script importing a list reader sets STANDARDS_DIR: ${{ steps.standards.outputs.path }}.
  • Each workflow's first reading job resolves standards main and exports standards-sha. A later job passes ref: ${{ needs.<job>.outputs.standards-sha }}, through intermediate jobs that forward it where needed. The gate jobs check-dispatcher-current (pr-unblock) and check-range (post-merge-test-mutation) resolve with checkout: 'false'. A job with no needs path to a resolving job, or one whose source job was skipped, reads main.
  • post-merge-file-demotion-issues.yml checks the sender against the checkout's list instead of a contents-API read of this repository's copy. pr-merge.yml (candidate listing) and pr-run-activity-write.yml (reply-actors copy) read the checkout's list.
  • Outside the three files that are out of scope, no workflow reads .base/.github/standards/ for these three files. Sparse-checkout lists still name the copy until the contract PR.
  • The tests that pin these workflow lines expect the standards paths. actionlint and zizmor pass on the changed workflows. scripts/sync-hold-floor.py --check passes.

Activity

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

    @github-actions
    Contributor

    Size: Large
    Complexity: High
    Uncertainty: Knowable
    Flags: none
    Blocked by: #18720
    Blast radius: about 25 CI workflows under .github/workflows and the tests that pin their lines; every pull request and merge pipeline in this repository runs them.
    Reversible: yes; revert the workflow and test edits, since sparse-checkout lists still name the old copy until the contract PR.
    Claims checked:

    1. scripts/sync-hold-floor.py exists: held, scripts/sync-hold-floor.py.
    2. post-merge-file-demotion-issues.yml exists: held, .github/workflows/post-merge-file-demotion-issues.yml.
    3. The 25 workflows named in the PR: not checked, the issue points to a PR and the PR's list is not in the checkout.
      Open questions: none
      Understood: part 2 of 3 of ci: workflows read the trusted list and policies from a standards checkout at one commit #18717. It moves the listed workflows to read the trusted list and policies from a standards checkout at one commit. It depends on part 1 (ci: workflows read the trusted list and policies from a standards checkout at one commit - part 1 of 3 #18720), which is still open. Part 3 is ci: workflows read the trusted list and policies from a standards checkout at one commit - part 3 of 3 #18722. This is not a duplicate; the parent is ci: workflows read the trusted list and policies from a standards checkout at one commit #18717.

    Automated triage. A maintainer reviews it.

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

    @melodic-automation-lanes
    ContributorAuthor

    Not admitted to the issue lane yet: blocker #18720 is not closed by a listed human or a merge.

  5. kyle-sexton commented on Nov 24, 2026

    @kyle-sexton
    Member

    Superseded: parent #18717 is implemented in one session-owned PR, #18719 (D2 P4). Closing this size-split child so a lane does not build a second copy.

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

    ready

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions