Skip to content

ci: remove git credentials after checkout#1472

Merged
RafaelGSS merged 1 commit intonodejs:mainfrom
Fdawgs:ci/creds
Apr 30, 2025
Merged

ci: remove git credentials after checkout#1472
RafaelGSS merged 1 commit intonodejs:mainfrom
Fdawgs:ci/creds

Conversation

@Fdawgs
Copy link
Copy Markdown
Contributor

@Fdawgs Fdawgs commented Apr 22, 2025

This PR removes Git credentials after checkout as a security precaution by setting persist-credentials to false. They are not used after the initial checkout, and this stops them from accidentally leaking through a script; see related GitHub security post and related actions/checkout issue.

@RafaelGSS RafaelGSS merged commit 081635c into nodejs:main Apr 30, 2025
7 checks passed
@Fdawgs Fdawgs deleted the ci/creds branch May 1, 2025 05:35
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.

2 participants