From 9b85ec47666c5872ae9b23e43de35e7bdf1ed931 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Fri, 22 Mar 2024 22:47:03 -0500 Subject: [PATCH] debuggggggg --- .forgejo/workflows/pull_request.yaml | 6 +++++- .forgejo/workflows/release.yaml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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