Skip to content

ci: correct the actions/checkout version comment on eight pins - #1509

Open
chopmob-cloud wants to merge 1 commit into
a2aproject:mainfrom
chopmob-cloud:ci/fix-checkout-version-comments
Open

chopmob-cloud wants to merge 1 commit into
a2aproject:mainfrom
chopmob-cloud:ci/fix-checkout-version-comments

Conversation

@chopmob-cloud

Copy link
Copy Markdown
Contributor

Eight workflow steps pin actions/checkout to 3d3c42e5aac5ba805825da76410c181273ba90b1 but label it # v6. That SHA is v7.0.1; v6 resolves to d23441a48e. The pins are correct — only the comment is wrong, which misleads anyone auditing or bumping it.

File Lines
.github/workflows/linter.yaml 1
.github/workflows/python-publish.yml 1
.github/workflows/run-tck.yaml 2
.github/workflows/unit-tests.yml 4

Found while auditing action pins: an independent review of the pinning change (#1314) flagged two of these lines, and the same mistake appears in eight places across four files.

Verification

Clean-room gate on VM2 (python:3.12-slim):

  • all 17 workflows parse
  • 0 pins still labelled v6; 8 now labelled v7.0.1
  • the 58 uses: values are identical to main — the strongest statement available for a comment-only change: nothing but comment text moved
  • negative control 1: reintroducing a # v6 label is caught
  • negative control 2: changing an action reference is caught
  • secret scan clean, planted-secret control fires

The gated tree (c0dd627e…) is byte-identical to the committed tree, so the green result covers this commit.

Diff is 8 lines changed, +8/−8, no line-ending or whitespace churn (verified with --numstat, equal insertions and deletions per file).

Refs #1314. This is deliberately separate from the pinning change so that PR stays scoped to pinning.

Eight workflow steps pin actions/checkout to
3d3c42e5aac5ba805825da76410c181273ba90b1 but label it `# v6`. That SHA is
v7.0.1 — `v6` resolves to d23441a48e — so the comment misreports the version a
reader would use when auditing or bumping it. The pins themselves are correct
and unchanged; only the comment text moves.

An independent review of the pinning change flagged two of these lines; the same
mistake is in eight places across four files, so all eight are corrected here.

Verified comment-only: the clean-room gate parses all 17 workflows, confirms no
v6 label remains and all eight read v7.0.1, and asserts the 58 `uses:` values are
identical to main — nothing but comment text moved. Two negative controls fire:
reintroducing a v6 label, and changing an action reference.

Refs a2aproject#1314

Signed-off-by: AlgoVoi <chopmob@gmail.com>
@chopmob-cloud
chopmob-cloud requested a review from a team as a code owner November 20, 2026 19:41
@github-actions

Copy link
Copy Markdown

🧪 Code Coverage (vs main)

⬇️ Download Full Report

No coverage changes.

Generated by coverage-comment.yml

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant