ghtier
← All permissions
Repository permission·actions:write

Actions: Write

Tier 1 · High

Why Tier 1

Starts workflows that have a workflow_dispatch trigger, on any branch that holds the file, with its own inputs. Also re-runs, cancels and deletes runs, approves runs from fork pull requests, disables workflows, deletes logs, caches and artifacts, and sets the repository's OIDC subject template. A re-run keeps the privileges of whoever started the original run and uses the workflow file from the original commit; re-running a run Dependabot started still gets Dependabot secrets. 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.

Can reach T0 when a workflow it can start or re-run holds a credential such as an owner's token or an App private key, and passes dispatch inputs to a shell, uses them as the ref to check out, or checks out a branch by name that the caller can push to.

Inferred from: GitHub Docs: manually run a workflow, GitHub Docs: re run workflows and jobs, GitHub Docs: secure useTested 2026-10-28 in a test organization: A re-run printed the marker from the workflow file at the original commit after the branch had a newer file, so a re-run brings in new code only through what the workflow checks out. A member's re-run of a Dependabot run kept the actor dependabot[bot] and got the Dependabot secret.

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

What it unlocks

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

  • 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
  • PUT /repos/{owner}/{repo}/actions/oidc/customization/sub
  • DELETE /repos/{owner}/{repo}/actions/runs/{run_id}
  • POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve
  • POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel
  • POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel
  • DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs

Roles that include it

Classic scopes that reach it

Attack paths

Other levels

GitHub Docs: Repository permissions for "Actions"