diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ae8cb7e028ca..83f5899f0345 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -316,6 +316,8 @@ jobs: runs-on: ubuntu-22.04 needs: [build-python-wheels] if: github.event_name == 'release' + permissions: + id-token: write strategy: matrix: package: @@ -330,8 +332,6 @@ jobs: merge-multiple: true - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --skip-existing *