diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index cb3732c0..7d6f4e69 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -8,6 +8,9 @@ jobs: if: "!github.event.release.prerelease" name: Python Release Builder runs-on: ubuntu-latest + environment: pypi + permissions: + id-token: write steps: - uses: actions/checkout@v4 - name: Set up Python @@ -26,5 +29,3 @@ jobs: build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file