Skip to content

Do not persist checkout credentials in build jobs - #318

Merged
woksin merged 1 commit into
mainfrom
ci/no-persisted-checkout-credentials
Sep 23, 2026
Merged

woksin merged 1 commit into
mainfrom
ci/no-persisted-checkout-credentials

Conversation

@woksin

@woksin woksin commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Security

  • Every checkout in javascript-build.yml now sets persist-credentials: false. None of the build jobs push, so the token no longer stays in the local git config where later steps (dependency scripts, tests) could read it.

publish.yml is unchanged because its release step may rely on the checkout credentials.

Fixes #219

None of the build jobs push, so the token no longer stays in the local git
config for later steps.
@woksin woksin added the patch label Sep 23, 2026
@woksin
woksin merged commit 1950c4d into main Sep 23, 2026
47 of 50 checks passed
@woksin
woksin deleted the ci/no-persisted-checkout-credentials branch September 23, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set persist-credentials: false on checkouts in workflow callers

1 participant