We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a84fa commit b52a09cCopy full SHA for b52a09c
.github/workflows/pypi.yml
@@ -156,9 +156,11 @@ jobs:
156
157
upload_pypi:
158
name: Upload to PyPI on release
159
+ # Use the `release` GitHub environment to protect the Trusted Publishing (OIDC)
160
+ # workflow by requiring signoff from a maintainer.
161
environment: release
162
permissions:
- # write id-token is required for upload attestation
163
+ # write id-token is required for trusted publishing (OIDC)
164
id-token: write
165
needs: [check_dist]
166
runs-on: ubuntu-latest
@@ -182,3 +184,4 @@ jobs:
182
184
path: dist
183
185
186
- uses: pypa/[email protected]
187
+ # Implicitly attests that the packages were uploaded in the context of this workflow.
0 commit comments