From d8a41b3dc37c7f00ad550caace6d4dd5e0a5a42c Mon Sep 17 00:00:00 2001 From: khalidbelk Date: Wed, 13 Nov 2024 17:35:42 +0100 Subject: [PATCH] fix(CI): fix workflow syntax --- .github/workflows/mirrorV2.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mirrorV2.yml b/.github/workflows/mirrorV2.yml index b93d773..ceb696c 100644 --- a/.github/workflows/mirrorV2.yml +++ b/.github/workflows/mirrorV2.yml @@ -28,4 +28,6 @@ jobs: git config user.name "Github Action" git config user.email "action@github.com" git remote add mirror https://${PAT}@github.com/${{ env.MIRROR_URL }} - git push mirror main:main --force -m "[Mirror CI] - Update repository" + git commit --allow-empty -m "[Mirror CI] - Update repository" + git push mirror main:main --force +