ghtier
← All permissions
Repository permission·checks:write

Checks: Write

Tier 2 · Medium

Why Tier 2

Creates, completes and re-requests check runs and suites. A check run satisfies a required check of the same name unless the rule pins a different App as its source.

Target
Repository
Plane
DataCode: Repository contents, branches, tags, pull requests, checks and commit signing keys.
Granted by
GitHub App, GITHUB_TOKEN
Available on
Every setup
In a workflow
permissions: checks: writeWorkflow scopes by tier

What it unlocks

6 REST endpoints need 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}/check-runs
  • PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}
  • POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest
  • POST /repos/{owner}/{repo}/check-suites
  • PATCH /repos/{owner}/{repo}/check-suites/preferences
  • POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest

Roles that include it

Classic scopes that reach it

No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

Other levels

GitHub Docs: Repository permissions for "Checks"