Skip to content

fix: Publish using Trusted Publisher instead of API tokens#2

Merged
Anthirian merged 1 commit into
mainfrom
develop
Jul 3, 2025
Merged

fix: Publish using Trusted Publisher instead of API tokens#2
Anthirian merged 1 commit into
mainfrom
develop

Conversation

@Anthirian

Copy link
Copy Markdown
Contributor

No description provided.

@Anthirian Anthirian requested a review from Copilot July 3, 2025 11:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the release workflow to use GitHub’s OIDC Trusted Publishing instead of a static API token.

  • Adds job-level permissions to enable OIDC-based publishing
  • Replaces the manual uv publish command with the official pypa GitHub Action
Comments suppressed due to low confidence (1)

.github/workflows/publish.yml:13

  • [nitpick] Add a comment explaining that id-token: write enables GitHub Actions OIDC-based publishing for PyPI so maintainers understand the intent of this permissions block.
    permissions:

Comment thread .github/workflows/publish.yml
@Anthirian Anthirian merged commit def9647 into main Jul 3, 2025
4 checks passed
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