Skip to content

Commit 9af3081

Browse files
Cursorcursoragent
andcommitted
Remove API token secrets, use trusted publishing only
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3a6584c commit 9af3081

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,6 @@ jobs:
6262

6363
- name: Publish to PyPI
6464
uses: pypa/gh-action-pypi-publish@release/v1
65-
with:
66-
# Uses trusted publishing (OIDC) - no API token needed if configured
67-
# Fallback to API token if trusted publishing not set up
68-
password: ${{ secrets.PYPI_API_TOKEN }}
6965

7066
publish-to-testpypi:
7167
name: Publish to TestPyPI
@@ -91,4 +87,3 @@ jobs:
9187
uses: pypa/gh-action-pypi-publish@release/v1
9288
with:
9389
repository-url: https://test.pypi.org/legacy/
94-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)