Skip to content

Authorize release preparation in the credential broker - #20621

Merged
zanieb merged 1 commit into
mainfrom
zb/authorize-release-prepare
Jul 22, 2026
Merged

zanieb merged 1 commit into
mainfrom
zb/authorize-release-prepare

Conversation

@astral-automations-bot

@astral-automations-bot astral-automations-bot Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Prepare release fails at Get uv token because the broker policy has no grant for .github/workflows/release-prepare.yml, so its contents: write and pull_requests: write exchange is rejected before release preparation can begin. Add the narrowly scoped workflow_dispatch grant for astral-sh/uv on main in the automations environment, preserving the existing authorization boundaries.

Fixes astral-sh#364.

@zanieb zanieb added the internal:automations Related to internal automations label Jul 22, 2026
@zanieb
zanieb enabled auto-merge (squash) July 22, 2026 16:01
@zanieb
zanieb merged commit 1e052e3 into astral-sh:main Jul 22, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:automations Related to internal automations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare release cannot exchange its brokered write token

2 participants