Skip to content

Commit

Permalink
add write permission for pypi publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
agrouaze committed Oct 17, 2023
1 parent 3e9c03f commit 0b9deca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
pip install dist/*.whl
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
permissions:
id-token: write
with:
password: ${{ secrets.pypi_token }}
repository_url: https://upload.pypi.org/legacy/
Expand Down

0 comments on commit 0b9deca

Please sign in to comment.