From d0aaca4f2fa8742a1c2ca41829c20a0f2f303b83 Mon Sep 17 00:00:00 2001 From: Lukasz Dziedziak Date: Tue, 3 Dec 2024 16:32:29 +0100 Subject: [PATCH] chore(gha): sync tags (#10) Signed-off-by: Lukasz Dziedziak --- .github/workflows/sync-with-upstream.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sync-with-upstream.yaml b/.github/workflows/sync-with-upstream.yaml index 8b338f81a..de1fc2450 100644 --- a/.github/workflows/sync-with-upstream.yaml +++ b/.github/workflows/sync-with-upstream.yaml @@ -49,6 +49,12 @@ jobs: - name: No new commits if: steps.sync.outputs.has_new_commits == 'false' run: echo "There were no new commits." + - name: Refresh repository + id: refresh + if: steps.sync.outputs.has_new_commits == 'true' + shell: bash + run: | + git fetch --all --tags - name: Get new version tag id: new-version-tag if: steps.sync.outputs.has_new_commits == 'true'