← All permissions
Repository permission·statuses:write
Commit statuses: Write
Tier 2 · Medium
Why Tier 2
Sets commit statuses. A required status check that does not pin its source can be marked green by anyone with this.
- 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: write
What it unlocks
1 REST endpoint needs this permission. A few of them:
- 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.