From c58c4cea962f34c1ec085411a723ccfb0ef99ef0 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Wed, 29 Jul 2026 11:55:54 -0300 Subject: [PATCH] bugfix: change checkout version to v7 --- .gitea/workflows/publish-pypi.yaml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/publish-pypi.yaml b/.gitea/workflows/publish-pypi.yaml index 5cdc4af..311ebbd 100644 --- a/.gitea/workflows/publish-pypi.yaml +++ b/.gitea/workflows/publish-pypi.yaml @@ -9,11 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 - - - name: Fetch tags - run: | - git fetch --prune --unshallow --tags + uses: actions/checkout@v7 + with: + fetch-depth: 0 - name: Configure git run: | @@ -29,14 +27,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.3.2 - - name: Count commits - run: | - echo "Commit count: $(git rev-list --count main)" - echo "Tags available:" - git tag - echo "Remote tags available:" - git ls-remote --tags - - name: Bump version run: | uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"