Skip to content

Security

How do I set GITHUB_TOKEN permissions?

Quick answer

Add a permissions block at workflow or job level and grant only the scopes needed.

The detail that matters

Default the repository to read-only and elevate per job. 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.