Skip to content

Disable credential persistence in test suite checkout#950

Merged
Kludex merged 1 commit into
mainfrom
fix/artipacked-checkout-credentials
May 17, 2026
Merged

Disable credential persistence in test suite checkout#950
Kludex merged 1 commit into
mainfrom
fix/artipacked-checkout-credentials

Conversation

@Kludex

@Kludex Kludex commented May 17, 2026

Copy link
Copy Markdown
Member

Summary

Resolves zizmor artipacked finding code-scanning/1.

actions/checkout defaults to persist-credentials: true, leaving the GITHUB_TOKEN on disk in .git/config where subsequent steps (or anything that uploads the workspace as an artifact) could leak it. The test suite doesn't push, so credentials aren't needed. publish.yml and zizmor.yml already set persist-credentials: false; this brings main.yml in line.

Test plan

  • CI green
  • Code-scanning alert auto-closes on next zizmor run against main

AI Disclaimer

This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

@Kludex Kludex enabled auto-merge (squash) May 17, 2026 05:27
@Kludex Kludex merged commit 46ff3bc into main May 17, 2026
11 checks passed
@Kludex Kludex deleted the fix/artipacked-checkout-credentials branch May 17, 2026 05:28
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