diff --git a/.github/workflows/publish-python-package.yml b/.github/workflows/publish-python-package.yml index 2afbcfd..b6b37f4 100644 --- a/.github/workflows/publish-python-package.yml +++ b/.github/workflows/publish-python-package.yml @@ -7,6 +7,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 - name: Set up Python @@ -28,6 +30,3 @@ jobs: pytest -vvra - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }}