We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e235225 commit 08a9115Copy full SHA for 08a9115
1 file changed
.github/workflows/publish.yml
@@ -7,6 +7,11 @@ on:
7
jobs:
8
deploy:
9
runs-on: ubuntu-latest
10
+ # This block allows GitHub to prove its identity to PyPI
11
+ permissions:
12
+ id-token: write
13
+ contents: read
14
+
15
steps:
16
- uses: actions/checkout@v4
17
@@ -25,5 +30,4 @@ jobs:
25
30
26
31
- name: Publish to PyPI
27
32
uses: pypa/gh-action-pypi-publish@release/v1
28
- with:
29
- password: ${{ secrets.PYPI_API_TOKEN }}
33
+ # No 'with: password' needed anymore!
0 commit comments