Skip to content

add build workflow as a Trusted Publisher so we don't have to use a token anymore#195

Open
zacharyburnett wants to merge 1 commit into
masterfrom
pypi/trusted_publishers
Open

add build workflow as a Trusted Publisher so we don't have to use a token anymore#195
zacharyburnett wants to merge 1 commit into
masterfrom
pypi/trusted_publishers

Conversation

@zacharyburnett

Copy link
Copy Markdown

I set the searvey PyPI project to add the .github/workflows/build.yml workflow as a "trusted publisher" for PyPI:
https://docs.pypi.org/trusted-publishers/

Thus, we won't need to use a PyPI token (which is tied to someone's PyPI account)

@zacharyburnett zacharyburnett requested a review from pmav99 April 30, 2026 19:04
@zacharyburnett zacharyburnett self-assigned this Apr 30, 2026
name: build

on:
pull_request:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

this also runs this build workflow on a pull request (skipping the publish step)

@zacharyburnett zacharyburnett force-pushed the pypi/trusted_publishers branch from f37f729 to 64801b0 Compare April 30, 2026 19:06
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.

1 participant