Skip to content

Commit 5db4087

Browse files
committed
Update publish workflow - add id-token permission and remove explicit PyPI token
1 parent 8506283 commit 5db4087

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
id-token: write
1213

1314
steps:
1415
- uses: actions/checkout@v3
@@ -28,5 +29,3 @@ jobs:
2829

2930
- name: Publish to PyPI
3031
uses: pypa/gh-action-pypi-publish@release/v1
31-
with:
32-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)