From 4b6f7ddf27c5ee3e4765272000630764931d09b6 Mon Sep 17 00:00:00 2001 From: Eugen Eisler Date: Fri, 4 Oct 2024 00:40:46 +0200 Subject: [PATCH] ci: commit version changes only if it changed --- .github/workflows/update-version-and-create-tag.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-version-and-create-tag.yml b/.github/workflows/update-version-and-create-tag.yml index 9b9dd93c..96032d0b 100644 --- a/.github/workflows/update-version-and-create-tag.yml +++ b/.github/workflows/update-version-and-create-tag.yml @@ -18,6 +18,9 @@ jobs: with: fetch-depth: 0 # Fetch all history to include tags + - name: Fetch all tags + run: git fetch --tags # Ensure all tags are fetched + - name: Set up Git run: | git config user.name "github-actions[bot]"