Skip to content

Commit 93ce40e

Browse files
committed
chore: remove publish secret token
1 parent 7523062 commit 93ce40e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ jobs:
77
build-n-publish:
88
name: Build and publish optimagic Python 🐍 distributions 📦 to PyPI
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1215
with:
@@ -31,5 +34,3 @@ jobs:
3134
- name: Publish distribution 📦 to PyPI
3235
if: startsWith(github.ref, 'refs/tags')
3336
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
34-
with:
35-
password: ${{ secrets.PYPI_API_TOKEN_OPTIMAGIC }}

0 commit comments

Comments
 (0)