From 63ecb2ad65f993625baafe6dc7166995ae11a5bf Mon Sep 17 00:00:00 2001 From: forge Date: Sun, 6 Jul 2025 05:09:15 +0000 Subject: [PATCH] ci: try to fix mirror workflow --- .forgejo/workflows/mirror-repository.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/mirror-repository.yml b/.forgejo/workflows/mirror-repository.yml index 40efa14b8a..36ad9d5504 100644 --- a/.forgejo/workflows/mirror-repository.yml +++ b/.forgejo/workflows/mirror-repository.yml @@ -47,7 +47,7 @@ jobs: run: | git remote add upstream $upstream while read tag; do - if test ${{ inputs.is_commit }} == "true"; then + if test "${{ inputs.is_commit }}" == "true"; then git fetch upstream $tag --no-tags else git fetch upstream tag $tag --no-tags @@ -57,7 +57,7 @@ jobs: run: | while read tag; do git checkout $tag - if test ${{ inputs.is_commit }} != "true"; then + if test "${{ inputs.is_commit }}" != "true"; then git tag -d $tag fi git checkout ci -- ./.forgejo