From 11f969b5f8b4d456576f03c01e118a49b40fa1bb Mon Sep 17 00:00:00 2001 From: khalidbelk Date: Wed, 13 Nov 2024 17:52:42 +0100 Subject: [PATCH] fix(CI): fix not found issue - retrigger --- .github/workflows/mirrorV2.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mirrorV2.yml b/.github/workflows/mirrorV2.yml index 245d6be..921de66 100644 --- a/.github/workflows/mirrorV2.yml +++ b/.github/workflows/mirrorV2.yml @@ -20,11 +20,14 @@ jobs: with: fetch-depth: 0 ref: main + token: ${{ secrets.PAT_TOKEN }} - name: Push to mirror env: PAT: ${{ secrets.PAT_TOKEN }} run: | set -e + git config user.name "Github Action" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" git remote add mirror https://${PAT}@github.com/${{ env.MIRROR_URL }} + git commit --allow-empty -m "[Mirror CI] - Update repository" git push mirror main:main --force -