diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 124cbc11..f376f4a5 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -10,6 +10,8 @@ jobs: name: Build and publish Python 🐍 distributions 📦 to PyPI environment: production runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python3 diff --git a/.github/workflows/tag-testpypi.yml b/.github/workflows/tag-testpypi.yml index a86e3dc4..b944a988 100644 --- a/.github/workflows/tag-testpypi.yml +++ b/.github/workflows/tag-testpypi.yml @@ -10,6 +10,8 @@ jobs: name: Build and publish Python 🐍 distributions 📦 to TestPyPI environment: staging runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python3