ci: tighten top-level release permissions to contents: read (#36404)

Tighten the top-level `permissions` default in the release workflow from
`contents: write` to `contents: read`. All 8 jobs already declare their
own `permissions` blocks, so this has zero functional impact — but it
prevents any future job added without explicit permissions from silently
inheriting write access.
This commit is contained in:
Mason Daugherty
2026-03-31 13:31:16 -04:00
committed by GitHub
parent 3b4cd75a0c
commit a453348fb0

View File

@@ -37,7 +37,7 @@ env:
UV_NO_SYNC: "true"
permissions:
contents: write # Required for creating GitHub releases
contents: read # Job-level overrides grant write only where needed (mark-release)
jobs:
# Build the distribution package and extract version info