From 6b5728242a0d70d6cf364c91f407a796f32e3efe Mon Sep 17 00:00:00 2001 From: Ronny Rentner Date: Sun, 27 Nov 2022 11:48:38 +0100 Subject: [PATCH] Fix sync workflow --- .github/workflows/sync-fork.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml index e0dd14c5..c5e8bf80 100644 --- a/.github/workflows/sync-fork.yml +++ b/.github/workflows/sync-fork.yml @@ -23,6 +23,9 @@ jobs: run: echo "Syncing fork from $UPSTREAM_URL/$UPSTREAM_BRANCH to $GITHUB_REF" - name: Sync latest commits from upstream repo run: | + git config --global --add safe.directory . + git config user.name github-actions + git config user.email github-actions@github.com git remote add upstream $UPSTREAM_URL git fetch upstream $UPSTREAM_BRANCH git rebase --autosquash --autostash upstream/$UPSTREAM_BRANCH