Skip to content

build: switch to trusted publishing - #2

Merged
julian-risch merged 1 commit into
mainfrom
trusted-publishing
Apr 1, 2026
Merged

build: switch to trusted publishing#2
julian-risch merged 1 commit into
mainfrom
trusted-publishing

Conversation

@julian-risch

@julian-risch julian-risch commented Mar 31, 2026

Copy link
Copy Markdown
Member

Related Issues

Related to https://github.com/deepset-ai/haystack-private/issues/299

Proposed Changes:

Similar to deepset-ai/haystack#10976, this PR stops the pypi release workflow from using a secret token and instead uses trusted publishing.

How did you test it?

Tested similar changes with manually triggered pre-release in the haystack repository.

Notes for the reviewer

After reading https://docs.astral.sh/uv/guides/package/#updating-your-version I am not 100% sure if just usinguv publish without the token would work too. Using the github action is consistent with all other repos though, which is an advantage.

Once this is merged, I will delete the GitHub action secret and revoke the token.

@julian-risch
julian-risch requested a review from mpangrazzi March 31, 2026 16:22

@mpangrazzi mpangrazzi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! Runner is already ubuntu-latest so we shouldn't have issues here 😉

@julian-risch
julian-risch merged commit c7af082 into main Apr 1, 2026
5 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