diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index cd2ea1c..de2ffeb 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -44,12 +44,16 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-python@v4 with: python-version: 3.12 # `python-semantic-release` will run `hatch build`. - run: python -m pip install hatch - uses: python-semantic-release/python-semantic-release@v9.8.3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} pypi: name: "publish to PyPi"