Skip to content
Latchkey

GITHUB_TOKEN - CI/CD Glossary Definition

GITHUB_TOKEN is the short-lived access token GitHub Actions creates automatically for each workflow run, available as ${{ secrets.GITHUB_TOKEN }} and used to authenticate API calls back to the repository.

Lifetime and scope

The token is generated at the start of a run and revoked when the run finishes, so it never needs to be stored. Its permissions are controlled by the permissions: block and the repository default. It cannot trigger new workflow runs by default, which prevents recursive loops.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →