diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index afd0954..d968f53 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -63,6 +63,8 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && !github.event.repository.fork needs: [lint, test] runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout uses: actions/checkout@v4 @@ -76,6 +78,3 @@ jobs: python setup.py sdist - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }}