Skip to content

Bump actions/checkout to v7.0.0 in standards (copilot-setup-steps + sonarcloud) to match repo-template; corrects #794's v6.0.3 #795

Closed

Description

@don-petry

Context

template-drift (job "Check repo-template stubs have not drifted from standards/")
is RED because petry-projects/repo-template's stubs are AHEAD of these
standards on actions/checkout: repo-template pins v7.0.0
(9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0, a Dependabot bump — repo-template
PR #62) while standards/workflows/ still pins v6.0.x. A re-seed of repo-template
therefore can't run without downgrading, until standards catch up.

(Note: PR #792 already added the GH_PAT_DON_PETRY fallback to
pr-review-mention.yml, and PR #794 added the JDK-21 step to sonarcloud.yml but
pinned checkout to v6.0.3 — this issue corrects that to v7.0.0.)

Change — bump actions/checkout to v7.0.0 in two standards files

Use the exact SHA-pin repo-template already carries:
actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

  1. standards/workflows/copilot-setup-steps.yml — currently
    de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 → v7.0.0 SHA above.
    (This is the file's ONLY drift vs repo-template — after this, its drift clears
    with no repo-template change.)
  2. standards/workflows/sonarcloud.yml — currently
    df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 (set by feat: implement issue #793 — Adopt sonarcloud stub's JDK-21 step + checkout v6.0.3 into standards (clears remaining template-drift; no downgrades) #794) → v7.0.0
    SHA above. Keep the JDK-21 setup-java step feat: implement issue #793 — Adopt sonarcloud stub's JDK-21 step + checkout v6.0.3 into standards (clears remaining template-drift; no downgrades) #794 added.

No other changes. Do not remove the JDK step. No other action downgrades.

Ordering

BLOCKS the companion repo-template re-seed issue (petry-projects/repo-template).
That re-seed must run only after this merges, so repo-template's checkout stays at
v7.0.0 (no downgrade) while gaining the forward changes.

Acceptance criteria

  • Both standards files pin actions/checkout at the v7.0.0 SHA 9c091bb….
  • sonarcloud.yml retains its JDK-21 step.
  • No action-version downgrades anywhere.
  • Fails closed.

Activity

  1. don-petry commented on Jul 19, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead Implementation Plan

    Issue: #795 — Bump actions/checkout to v7.0.0 in standards (copilot-setup-steps + sonarcloud) to match repo-template; corrects #794's v6.0.3

    Scope

    Bump actions/checkout to v7.0.0 (SHA 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0) in exactly two standards files to clear template-drift; keep #794's JDK-21 step; no other changes and no downgrades.

    Implementation Checklist

    • standards/workflows/copilot-setup-steps.yml — checkout de0fac2… (v6.0.2) → 9c091bb… (v7.0.0)
    • standards/workflows/sonarcloud.yml — checkout df4cb1c… (v6.0.3) → 9c091bb… (v7.0.0); retain the setup-java JDK-21 step

    Tests to Write

    • None — pure config change (behavior-preserving SHA bump). TDD Phase 2 exception; verification is via repo lint + the template-drift check.

    Test Command

    bash ".dev-lead/scripts/dev-lead-lint.sh"

  2. don-petry commented on Jul 19, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead: Implementation Complete

    Plan Execution

    • standards/workflows/copilot-setup-steps.yml — checkout v6.0.2 → v7.0.0 (9c091bb…)
    • standards/workflows/sonarcloud.yml — checkout v6.0.3 → v7.0.0 (9c091bb…); JDK-21 setup-java step retained
    • No other files touched; no action-version downgrades

    Test Results

    Pure config change (behavior-preserving SHA bump) — TDD Phase 2 exception applies. Required repo lint passed:

      [lint] shellcheck on 24 file(s)...
      [lint] validating .github/CODEOWNERS...
    OK: .github/CODEOWNERS
      [lint] all checks passed
    

    Diff (both files, checkout line only):

     standards/workflows/copilot-setup-steps.yml
    -  uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
    +  uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
    
     standards/workflows/sonarcloud.yml
    -  uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
    +  uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
    

    Files Changed

    Notes

    • SHA 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 reused verbatim from repo-template (and already present across this repo's own .github/workflows/), so no API SHA lookup was needed.
    • Acceptance criteria met: both files pin checkout at the v7.0.0 SHA, sonarcloud retains its JDK-21 step, no downgrades. Fails closed.
    • Intentionally left unrelated v6.0.x references elsewhere (standards/ci-standards.md, standards/workflows/ci.yml, standards/push-protection.md) untouched per "No other changes."
  3. added a commit that references this issue on Jul 19, 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

    dev-leadFor dev-lead agent pickup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions