Skip to content

Prepare release cannot exchange its brokered write token #364

Open
astral-sh/uv
#20621

Description

@astral-automations-bot

The Prepare release workflow fails before preparing a release because its brokered token request is rejected.

Failed run: https://github.com/astral-sh/uv/actions/runs/29879721022
Failed job: https://github.com/astral-sh/uv/actions/runs/29879721022/job/88797642947
Workflow: Prepare release
Job: prepare-release
Step: Get uv token
Platform: ubuntu-latest
Attempt: 1
Branch: main

Decisive error:

token exchange request failed (403)

This is the first and only independent failure; the later release steps were skipped as a consequence.

Repository configuration shows that .github/workflows/release-prepare.yml requests contents: write and pull_requests: write from the credential broker, but .github/ost-simple-sts.json has no rule authorizing release-prepare.yml. The workflow was dispatched directly on main, so the failure is unrelated to a pull-request source change. The missing rule is source-backed; the broker's internal reason for returning 403 is not exposed by the log.

Related work: astral-sh#20543 introduced this brokered token use, and astral-sh#20606 contains the latest broker-policy schema update. #356 involved the same error for different rebase workflows and was fixed by deploying their missing grants; it does not cover release preparation.

Activity

  1. added
    bug
    on Jul 22, 2026
  2. added a commit that references this issue on Jul 22, 2026
    1e052e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions