diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65c3a0a..857f396 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,8 @@ jobs: needs: [lint, test] if: startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -42,5 +44,3 @@ jobs: run: python3 -m build - name: publish uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }}