From fe9584e21ef7af8f1153163eeb2338f35729c287 Mon Sep 17 00:00:00 2001 From: Jatin K Malik Date: Sun, 2 Aug 2026 21:10:36 -0700 Subject: [PATCH] fix(ci): force-push tags in Codeberg mirror workflow (#633) git push --tags fails when a tag already exists on Codeberg (e.g. v0.15.0 from a prior sync or retag). GitHub is the source of truth for this read-only mirror, so force-push tags to keep them aligned. Co-authored-by: Cursor Agent Co-authored-by: Jatin K Malik --- .github/workflows/codeberg-mirror.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml index f6a8bf8..ec07e31 100644 --- a/.github/workflows/codeberg-mirror.yml +++ b/.github/workflows/codeberg-mirror.yml @@ -40,4 +40,6 @@ jobs: git remote add codeberg git@codeberg.org:jatinkrmalik/vocalinux.git git push codeberg --all - git push codeberg --tags + # Force tags so the mirror stays aligned with GitHub when a tag + # already exists on Codeberg (retagged release or prior partial sync). + git push codeberg --tags --force