diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
index a81815002..f36ecb0b2 100644
--- a/.github/workflows/mirror.yml
+++ b/.github/workflows/mirror.yml
@@ -89,7 +89,7 @@ jobs:
           if [[ $RET == 0 ]]; then
             git checkout -f "master"
             git rebase "remotes/svn/trunk"
-            git add .github/* -m "add workflow files"
+            git add .github/* && git commit -m "add workflow files"
             echo "::set-output name=SVN_FETCH_STATUS::complete"
           elif [[ $RET != 124 ]]; then
             echo "::set-output name=SVN_FETCH_STATUS::error"