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

feat[ci]: update pypi release pipeline to use OIDC #3912

Merged
merged 2 commits into from
Apr 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix scope
charles-cooper committed Apr 5, 2024
commit 65afde26e6a69f7e4133ae1f22ff5c9419e06ece
12 changes: 6 additions & 6 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
@@ -11,15 +11,15 @@ jobs:
publish-pypi:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Specifying a GitHub environment is optional, but strongly encouraged
environment: release

# https://docs.pypi.org/trusted-publishers/using-a-publisher/
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release

steps:
- uses: actions/checkout@v4

- name: Python
uses: actions/setup-python@v5