Security
Workflow permissions
Quick answer
Workflow permissions set the scopes granted to GITHUB_TOKEN for a workflow or job.
Workflow permissions set the scopes granted to GITHUB_TOKEN for a workflow or job.
Why it matters
Defaulting the whole repository to read-only and elevating per job is a small change with a large blast-radius reduction. Most workflows never need write access.
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.
Related
Audit logAn audit log is an append-only record of configuration and access changes, capturing who did what, when, and from where.Data residencyData residency is the requirement that data be stored and processed within a defined geographic boundary.GitHub AppA GitHub App is an integration that authenticates as itself with scoped, short-lived installation tokens rather than as a user.GITHUB_TOKENGITHUB_TOKEN is the automatically generated, short-lived token available to every workflow run for authenticating to the GitHub API.