Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Replace publish action #313

Merged
merged 3 commits into from
Nov 24, 2024
Merged

Conversation

mpkorstanje
Copy link
Contributor

🤔 What's changed?

Replaces cucumber/action-publish-pypi with
pypa/gh-action-pypi-publish@release/v1. The motivation for using actions in the cucumber org is to ensure that we do not hand release tokens to untrusted code. As the party publishing our python packages, the Python Package Authority can be trusted. Additionally, their action uses trusted publishers which authorizes GitHub with OIDC so no long-lived tokens are used.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

Replaces `cucumber/action-publish-pypi` with
`pypa/gh-action-pypi-publish@release/v1`. The motivation for using
actions in the cucumber org is to ensure that we do not hand release
tokens to untrusted code. As the party publishing our python packages,
the Python Package Authority can be trusted. Additionally, their action
uses trusted publishers which authorizes GitHub with OIDC so no
long-lived tokens are used.
@mpkorstanje mpkorstanje requested a review from youtux November 14, 2024 22:59
@mpkorstanje mpkorstanje merged commit ed2d8f7 into main Nov 24, 2024
29 checks passed
@mpkorstanje mpkorstanje deleted the python-replace-publish-action branch November 24, 2024 19:51
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