ghtier
← All permissions
Repository permission·actions:write

Actions: Write

Tier 1 · High

Why Tier 1

Starts, re-runs and cancels workflows and deletes caches and artifacts. Starting a privileged publish or deploy job by hand was the step that mattered in the Nx incident.

Data plane permissions start at Tier 2. This one is raised for the reason above.

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: actions: write

What it unlocks

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

  • DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}
  • DELETE /repos/{owner}/{repo}/actions/caches
  • DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}
  • POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun

Roles that include it

Classic scopes that reach it

Attack paths

Other levels

GitHub Docs: Repository permissions for "Actions"