From 6e545c5e705a121fd81c5ba94b73f115a27f7353 Mon Sep 17 00:00:00 2001 From: EnderDev Date: Wed, 27 Dec 2023 15:40:27 +0000 Subject: [PATCH] Setup Git identity as GitHub actions in sync workflow --- .github/workflows/sync-dot.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-dot.yml b/.github/workflows/sync-dot.yml index 84f86fc7c7829..d4e7800703839 100644 --- a/.github/workflows/sync-dot.yml +++ b/.github/workflows/sync-dot.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.base_ref }} - fetch-depth: 0 + fetch-depth: 1000 - name: Checkout desktop repo uses: actions/checkout@v4 @@ -22,6 +22,9 @@ jobs: - name: Initialise mach working-directory: ./dot run: | + git config --local user.email "github-action@users.noreply.github.com" + git config --local user.name "GitHub Action" + ./scripts/install_mach_commands.py - name: Bump the revision file