Skip to content

Commit b52a09c

Browse files
committed
Include more comments
1 parent 79a84fa commit b52a09c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@ jobs:
156156

157157
upload_pypi:
158158
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.
159161
environment: release
160162
permissions:
161-
# write id-token is required for upload attestation
163+
# write id-token is required for trusted publishing (OIDC)
162164
id-token: write
163165
needs: [check_dist]
164166
runs-on: ubuntu-latest
@@ -182,3 +184,4 @@ jobs:
182184
path: dist
183185

184186
- uses: pypa/[email protected]
187+
# Implicitly attests that the packages were uploaded in the context of this workflow.

0 commit comments

Comments
 (0)