From ac629690148fff301d87345be880fac2c90c1e12 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 28 Feb 2025 17:36:22 +0200 Subject: [PATCH] Updated readme --- .github/workflows/on-pull-request.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index f2688e4..0858f6a 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -104,6 +104,8 @@ jobs: git remote -v - name: Push Branch run: | + git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | \ + xargs -L1 git config --unset-all git push https://x-access-token:${{ secrets.FORK_ORGANISATION_TOKEN }}@github.com/${FORK_REPOSITORY_PATH}.git sync-with-${BASE_BRANCH} ||\ git push https://x-access-token:${GH_TOKEN}@github.com/${FORK_REPOSITORY_PATH}.git sync-with-${BASE_BRANCH}