Skip to content

Security

GITHUB_TOKEN

Quick answer

GITHUB_TOKEN is the automatically generated, short-lived token available to every workflow run for authenticating to the GitHub API.

GITHUB_TOKEN is the automatically generated, short-lived token available to every workflow run for authenticating to the GitHub API.

Why it matters

It expires when the job ends and its permissions can be narrowed per workflow or per job. Setting permissions explicitly to the minimum is one of the highest-value security changes available.

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.