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 67d9a3c commit bc263d9Copy full SHA for bc263d9
.github/workflows/release.yml
@@ -6,12 +6,9 @@ on:
6
name: release
7
8
permissions:
9
- # Used to sign the release's artifacts with sigstore-python.
10
- # Used to publish to PyPI with Trusted Publishing.
+ # Trusted Publishing + attestations
11
id-token: write
12
-
13
- # Used to attach signing artifacts to the published release.
14
- contents: write
+ attestations: write
15
16
jobs:
17
pypi:
@@ -35,8 +32,8 @@ jobs:
35
32
- name: publish
36
33
uses: pypa/gh-action-pypi-publish@release/v1
37
34
38
- - name: sign
39
- uses: sigstore/[email protected]
+ - name: attest
+ uses: actions/attest@v1
40
with:
41
- inputs: ./dist/*.tar.gz ./dist/*.whl
42
- release-signing-artifacts: true
+ subject-path: ./dist/*.tar.gz ./dist/*.whl
+ predicate-type: 'https://docs.pypi.org/attestations/publish/v1'
0 commit comments