Skip to content

Commit 19e7f81

Browse files
committed
ci: enable pypi trusted publishing
1 parent 9890183 commit 19e7f81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
needs: [lint, test]
3535
if: startsWith(github.ref, 'refs/tags')
3636
runs-on: ubuntu-latest
37+
permissions:
38+
id-token: write
3739
steps:
3840
- uses: actions/checkout@v4
3941
- uses: actions/setup-python@v5
@@ -42,5 +44,3 @@ jobs:
4244
run: python3 -m build
4345
- name: publish
4446
uses: pypa/gh-action-pypi-publish@release/v1
45-
with:
46-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)