From dfdd7f69d4d10762b469182a7ed3f0b363a37fb2 Mon Sep 17 00:00:00 2001 From: Kevin Montag Date: Tue, 2 Jul 2024 09:11:32 +0200 Subject: [PATCH] chore: update fetch depth in semantic release action --- .github/workflows/test_and_publish.yml | 4 ++++ 1 file changed, 4 insertions(+) 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"