Checkout keeps no token
The checkout steps leave the GitHub token off the disk, where a later step could read it.
The actions/checkout steps set persist-credentials to false, so that the GitHub token used to clone the repo is not left in the git config on the runner's disk. Left there, any later step, a third-party action or a script from a dependency, could read it and push with it. A step that really needs to push can be given a token on purpose. The site counts a repo when nearly all its checkout steps set persist-credentials to false; a repo with no checkout step does not have it.
- Pro scene today: 14%, 31 of 221 pro repos
- In three months: +6 pts (13 pro repos added it)
- Kept: 95%, 20 of 21 that had it 3 months ago or before
Pro 14% · Ladder 13% · 1.1×
Insight: 16 of the 31 run zizmor, whose audit flags a checkout that keeps its token; 5 of the other 190 do.
In the pro repos
The 6 most starred of the 31 pro repos that have it today.
- huggingface/transformers/.github/workflows
- supabase/supabase/.github/workflows
- unslothai/unsloth/.github/workflows
- coollabsio/coolify/.github/workflows
- penpot/penpot/.github/workflows
- appwrite/appwrite/.github/workflows
By month
| Month | Pro scene |
|---|---|
| June 2025 | <1% |
| July 2025 | <1% |
| August 2025 | 1% |
| September 2025 | <1% |
| October 2025 | <1% |
| November 2025 | <1% |
| December 2025 | 2% |
| January 2026 | 2% |
| February 2026 | 2% |
| March 2026 | 2% |
| April 2026 | 3% |
| May 2026 | 3% |
| June 2026 | 6% |
| July 2026 | 7% |
| August 2026 | 7% |
| September 2026 | 8% |
| October 2026 | 9% |
| November 2026 | 11% |
| today | 14% |
Evidence
Observed in the repos only: no published study is quoted for it yet.
How it is detected
Looks for persist-credentials: false on 90% or more of the actions/checkout steps of a repo's workflows; a repo with no checkout step does not have it. Read in workflow files. How the method counts
Related practices
More in Secure, the most adopted first.