mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-04-17 02:06:29 +00:00
fix: grant contents:write to validate-release job (#860)
## Problem The release workflow fails at the `validate-release` job because `gh release view` cannot find draft releases. This is because the job only has `contents: read` permission, but GitHub requires `contents: write` to view draft releases. See failed run: https://github.com/astral-sh/setup-uv/actions/runs/24528604608 ## Fix Bump `validate-release` job permissions from `contents: read` to `contents: write`, matching the `release` job which already has this permission.
This commit is contained in:
committed by
GitHub
parent
717d6aba0f
commit
08807647e7
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
||||
name: Validate release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
steps:
|
||||
- name: Validate version and draft release
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user