Skip to content

Fix the stale checkout version comment in cd.yml - #33

Merged
dduugg merged 1 commit into
mainfrom
fix-cd-checkout-comment
Sep 29, 2026
Merged

dduugg merged 1 commit into
mainfrom
fix-cd-checkout-comment

Conversation

@dduugg

@dduugg dduugg commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

cd.yml's checkout is pinned to v7.0.1's SHA, but its comment still said # v7.0.0. Dependabot bumped the SHA in #30 and left the comment, most likely because the # zizmor: ignore[artipacked] came after it on the same line. zizmor's ref-version-mismatch audit didn't catch it either.

The comment now says # v7.0.1. The ignore moves to the with: line, next to an explicit persist-credentials: true, so the version comment stands alone where Dependabot can update it. Checkout persists credentials by default, so behavior doesn't change. The comment block above the step already explains why the credential has to persist.

Test plan

Dependabot bumped the checkout SHA to v7.0.1 in #30 but left the
comment at v7.0.0, most likely because the zizmor ignore followed it on
the same line. The ignore moves to the with: line, next to an explicit
persist-credentials: true, so the version comment stands alone and
Dependabot can update it. Checkout already persists credentials by
default, so behavior doesn't change.
@dduugg
dduugg requested a review from a team as a code owner September 29, 2026 21:14
@dduugg
dduugg merged commit fe004ea into main Sep 29, 2026
4 checks passed
@dduugg
dduugg deleted the fix-cd-checkout-comment branch September 29, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant