ghtier
← All permissions
Repository permission·pages:write

Pages: Write

Tier 2 · Medium

Why Tier 2

Builds and deploys GitHub Pages. Can publish content on the repository's Pages site.

Context-dependent: the tier shown is the typical case. What the target is used for decides the real one.

Target
Repository
Plane
DataWorkflows: Workflow files and runs, variables, deployments, environments and Pages.
Granted by
Fine-grained PAT, GitHub App, GITHUB_TOKEN
Available on
Every setup
In a workflow
permissions: pages: write

What it unlocks

7 REST endpoints need this permission. A few of them:

  • POST /repos/{owner}/{repo}/pages/builds
  • POST /repos/{owner}/{repo}/pages/deployments
  • POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel

Roles that include it

Classic scopes that reach it

Attack paths

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

Other levels

GitHub Docs: Repository permissions for "Pages"