Skip to content

Fix release pipeline: add OIDC permission and setup-python#382

Merged
pavel-kirienko merged 1 commit intomasterfrom
copilot/fix-release-pipeline
Apr 11, 2026
Merged

Fix release pipeline: add OIDC permission and setup-python#382
pavel-kirienko merged 1 commit intomasterfrom
copilot/fix-release-pipeline

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 11, 2026

Release workflow fails at PyPI publish with Trusted publishing exchange failure: OpenID Connect token retrieval failed because the job lacks the id-token: write permission required by pypa/gh-action-pypi-publish for OIDC.

  • Add id-token: write permission to the release job so the OIDC token request succeeds; password remains as fallback
  • Add actions/setup-python@v6 step — present in test.yml and docs.yml but was missing here

@pavel-kirienko pavel-kirienko marked this pull request as ready for review April 11, 2026 16:27
@pavel-kirienko pavel-kirienko merged commit eb8b5b4 into master Apr 11, 2026
22 checks passed
@pavel-kirienko pavel-kirienko deleted the copilot/fix-release-pipeline branch April 11, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants