← All permissions
Repository permission·statuses:write
Commit statuses: Write
Tier 2 · Medium
Why Tier 2
Sets commit statuses. A required status check set to any source can be marked green by anyone with this; one pinned to a GitHub App only accepts that App's status.
- Target
- Repository
- Plane
- DataCode: Repository contents, branches, tags, pull requests, checks and commit signing keys.
- Granted by
- Fine-grained PAT, GitHub App, GITHUB_TOKEN
- Available on
- Every setup
- In a workflow
permissions: statuses: writeWorkflow scopes by tier
What it unlocks
1 REST endpoint needs this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- POST /repos/{owner}/{repo}/statuses/{sha}
Roles that include it
- T0OwnerThe organization and every repository in it
- T0All-repository adminEvery repository in the organization
- T1WriteOne repository
- T1MaintainOne repository
- T1AdminOne repository
- T1All-repository writeEvery repository in the organization
- T1All-repository maintainEvery repository in the organization
Classic scopes that reach it
- T2public_repostated by GitHub
- T2repo:statusstated by GitHub
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.