diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 482b216..8a386e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -106,6 +106,8 @@ jobs: needs: [builder_pypandoc, builder_pypandoc_binary] if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Check out repository uses: actions/checkout@v4 @@ -118,8 +120,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + publisher_latest: needs: [builder_pypandoc, builder_pypandoc_binary]