ghtier
← All permissions
Repository permission·packages:write

Packages: Write

Tier 1 · High

Why Tier 1

Publishes, deletes and restores package versions. Only the GITHUB_TOKEN has it: a workflow reaches a package linked to its repository, or one that gave the repository Actions access; Maven and Gradle packages always follow the repository. Whatever is published is pulled by everyone who depends on it.

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

Target
Repository
Plane
DataReleases and packages: Packages, attestations and artifact metadata.
Granted by
GITHUB_TOKEN
Available on
Every setup
In a workflow
permissions: packages: writeWorkflow scopes by tier

Roles that include it

Classic scopes that reach it

Attack paths

Other levels

GitHub Docs: Repository permissions for "Packages"