Repository navigation
fix(ci): set persist-credentials: false on release preflight checkout - #750
Merged
marcusburghardt merged 1 commit intoJul 17, 2026
Conversation
gxmiranda
approved these changes
Jul 17, 2026
gxmiranda
left a comment
Contributor
There was a problem hiding this comment.
Clean, well-scoped security hardening fix. Adds persist-credentials: false to the preflight checkout (matching the existing pattern in the release job) and switches the tag push to explicit token URL auth. Eliminates the zizmor artipacked finding and unblocks #747.
No findings above LOW severity.
This review was generated by /review-pr (AI-assisted).
4 of 8 tasks
The preflight job's checkout step in release.yml did not set persist-credentials: false, triggering a zizmor artipacked finding (credential persistence through GitHub Actions artifacts). This blocks any PR that touches workflow files, including Dependabot PR complytime#747. Add persist-credentials: false to the preflight checkout and update the tag push step to authenticate via token URL since git credentials are no longer persisted by the checkout action. Signed-off-by: Marc Abu Burghal <[email protected]> Assisted-by: OpenCode (claude-opus-4-6) Signed-off-by: Marcus Burghardt <[email protected]>
marcusburghardt
force-pushed
the
fix/release-persist-credentials
branch
from
July 17, 2026 12:28
6e3313a to
7437420
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The preflight job's
actions/checkoutstep inrelease.ymldid not setpersist-credentials: false, triggering a zizmorartipackedfinding(medium severity: credential persistence through GitHub Actions artifacts).
This blocks any PR that touches workflow files from passing the
Standardized CI / Run linterscheck, including Dependabot PR #747.Changes
persist-credentials: falseto the preflight checkout step(
release.yml:42)(
x-access-token) since git credentials are no longer persisted bythe checkout action
Verification
yamllint: passactionlint: passzizmor: 0 findings (was 1 mediumartipacked)Context
releasejob (line 163) already hadpersist-credentials: false;only the
preflightjob was missing itls-remote,tag -l) work withoutcredentials on the public repo
GITHUB_TOKENis masked in logs by GitHub Actions