We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15413fd commit 0ffb4eeCopy full SHA for 0ffb4ee
.github/workflows/publish.yml
@@ -9,6 +9,9 @@ jobs:
9
deploy:
10
runs-on: ubuntu-latest
11
timeout-minutes: 20
12
+ # IMPORTANT: This permission is mandatory for trusted publishing
13
+ permissions:
14
+ id-token: write
15
steps:
16
- uses: actions/checkout@v6
17
@@ -21,6 +24,4 @@ jobs:
21
24
- name: Publish distribution 📦 to PyPI
22
25
if: startsWith(github.ref, 'refs/tags')
23
26
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
27
+ # Omit 'user' and 'password' inputs; OIDC is used automatically
0 commit comments