From 84c5fb141de2a6a1a0a9de24c1cb68218452153d Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Fri, 21 Aug 2026 10:35:29 +0200 Subject: [PATCH] feat(auto-release): use unique timestamp-based tag pattern Replace the YYYY-MM date format with a YYYYMMDDHHmmSS.run_id pattern to guarantee unique tags and prevent conflicts when the cron schedule triggers multiple times within the same month. Co-authored-by: Copilot --- .gitea/workflows/auto-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/auto-release.yaml b/.gitea/workflows/auto-release.yaml index 3783dd7..3c0727b 100644 --- a/.gitea/workflows/auto-release.yaml +++ b/.gitea/workflows/auto-release.yaml @@ -4,6 +4,7 @@ on: schedule: # Second Sunday of every month at 00:00 UTC - cron: "0 0 8-14 * 0" + workflow_dispatch: {} env: GIT_EMAIL: noreply@cryptic.systems @@ -24,7 +25,7 @@ jobs: - name: Create and push new tag id: create_tag run: | - defined_tag="$(date -u +"%Y-%m")" + defined_tag="$(date -u +"%Y%m%d%H%M%S").${{ github.run_id }}" echo "defined_tag=${defined_tag}" >> $GITHUB_OUTPUT echo "New tag: ${defined_tag}"