We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26a69cc commit 8d7cbd0Copy full SHA for 8d7cbd0
1 file changed
.github/workflows/python-publish.yml
@@ -9,7 +9,9 @@ jobs:
9
runs-on: ubuntu-latest
10
permissions:
11
contents: read
12
- id-token: write # Required for trusted publishing
+ id-token: write # Required for Trusted Publishing
13
+ environment:
14
+ name: pypi # Optional but recommended
15
16
steps:
17
- name: Check out the code
@@ -31,4 +33,4 @@ jobs:
31
33
- name: Publish to PyPI
32
34
uses: pypa/gh-action-pypi-publish@release/v1
35
with:
- password: ${{ secrets.PYPI_API_TOKEN }}
36
+ attestations: true # Optional
0 commit comments