diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 261f73fe2d..66a1d597b1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -127,6 +127,8 @@ jobs: runs-on: ubuntu-latest needs: [pip_build, waiting_room] if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + permissions: + id-token: write steps: - uses: actions/download-artifact@v4 with: @@ -134,7 +136,3 @@ jobs: path: dist/ - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ secrets.PPU }} - password: ${{ secrets.PPP }} - repository-url: "https://upload.pypi.org/legacy/"