diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ce17abb..2fcfa4d 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -30,6 +30,10 @@ jobs: name: Upload to PyPI needs: [build] runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + environment: pypi if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v4