diff --git a/.forgejo/workflows/pull_request.yaml b/.forgejo/workflows/pull_request.yaml index 45c98f9..9b2c440 100644 --- a/.forgejo/workflows/pull_request.yaml +++ b/.forgejo/workflows/pull_request.yaml @@ -19,7 +19,11 @@ jobs: - uses: actions/checkout@v4 name: 'Checkout Repository' with: - fetch-tags: true + fetch-depth: 0 + - name: 'Debugging' + run: | + latest_git_tag="$(git describe --tags --abbrev=0)" + echo "Previous Git Tag: $latest_git_tag" - name: 'Pre-Commit' run: | pre-commit install diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 52b483d..9c76938 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 name: 'Checkout Repository' with: - fetch-tags: true + fetch-depth: 0 - name: 'Pre-Commit' run: | pre-commit install