diff --git a/.forgejo/workflows/mirror-repository.yml b/.forgejo/workflows/mirror-repository.yml index a515394c5f..2d8c1cb3ae 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