Skip to content
Merged
Changes from all commits
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
15 changes: 6 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ on:
name: release

permissions:
# Used to sign the release's artifacts with sigstore-python.
# Used to publish to PyPI with Trusted Publishing.
# Trusted Publishing + attestations
id-token: write

# Used to attach signing artifacts to the published release.
contents: write
attestations: write

jobs:
pypi:
Expand All @@ -35,8 +32,8 @@ jobs:
- name: publish
uses: pypa/gh-action-pypi-publish@release/v1

- name: sign
uses: sigstore/[email protected]
- name: attest
uses: actions/attest@v1
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
release-signing-artifacts: true
subject-path: ./dist/*.tar.gz ./dist/*.whl
predicate-type: 'https://docs.pypi.org/attestations/publish/v1'