Skip to content

Commit de7ef55

Browse files
supermihiclaude
andcommitted
ci: switch to PyPI trusted publishing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3b21bd9 commit de7ef55

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/default.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
runs-on: ubuntu-latest
4949
needs: [build_wheels, sdist]
5050
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
51+
permissions:
52+
id-token: write
5153
steps:
5254
- name: download source wheel
5355
uses: actions/download-artifact@v7
@@ -63,7 +65,4 @@ jobs:
6365
- name: publish package pypi.org
6466
uses: pypa/gh-action-pypi-publish@release/v1
6567
with:
66-
user: __token__
67-
password: ${{ secrets.PYPI_API_TOKEN }}
68-
skip-existing: true
6968
packages-dir: wheels

0 commit comments

Comments
 (0)