diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index 04d4878..387a8c8 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -35,7 +35,9 @@ jobs: pypi.org:443 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 # IMPORTANT: otherwise the current tag does not get fetched and the build version gets worse - name: Set up Python ${{ inputs.python-version }} uses: actions/setup-python@v5