The Tech Meta

An inside look at tech's evolving playbook

Checkout keeps no token

Secure observed

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.

By month

MonthPro scene
June 2025<1%
July 2025<1%
August 20251%
September 2025<1%
October 2025<1%
November 2025<1%
December 20252%
January 20262%
February 20262%
March 20262%
April 20263%
May 20263%
June 20266%
July 20267%
August 20267%
September 20268%
October 20269%
November 202611%
today14%

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.

Levels of evidence