ghtier
← All permissions
Repository permission·pages:write

Pages: Write

Tier 2 · Medium

Why Tier 2

Rebuilds the site from the default branch, cancels deployments, and deploys an Actions artifact to the site. A deployment also needs an OIDC token issued to a workflow run in the same repository, so new content goes out through a Pages workflow, not the API alone; the call itself can come from outside the run while the token is valid. Changing the site's source, custom domain or HTTPS also needs Administration (write).

Can reach T1 when the site is on a domain people trust for downloads or install scripts, and a Pages workflow deploys content the caller can change, so a change there reaches everyone who runs them.

Inferred from: GitHub Docs: pagesTested 2026-10-28 in a test organization: A fine-grained token with Pages (write) created a deployment with an OIDC token from a run in the same repository. The same request with a token from another repository's run in the organization got 404.

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: writeWorkflow scopes by tier

What it unlocks

7 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.

Roles that include it

Custom role permissions that add it

An owner can build a custom role from these on Enterprise Cloud. Nobody holds one until a custom role with it is assigned.

  • Manage GitHub Pages settingsmanage_settings_pagesrepository role

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"