Skip to content

Commit a2bfa25

Browse files
🧑🏻‍🔧 Fix Zizmor noise
1 parent d2b5ec1 commit a2bfa25

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -406,12 +406,9 @@ jobs:
406406
name: Publish to PyPI or TestPyPI
407407
environment: release
408408
permissions:
409-
# Required by OIDC to publish to PyPI and by Sigstore to sign artifacts
410-
id-token: write
411-
# Required to upload artifacts to a GitHub release identifier
412-
contents: write
413-
# For GHA Attestations
414-
attestations: write
409+
id-token: write # Required by OIDC to publish to PyPI and by Sigstore to sign artifacts
410+
contents: write # Required to upload signed artifacts to a GitHub release
411+
attestations: write # Required to generate build provenance attestations
415412
runs-on: ubuntu-latest
416413
if: github.event_name == 'release' && github.event.action == 'published'
417414

0 commit comments

Comments
 (0)