Skip to content

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.