From ad420741885a352fa74d50ab80a85dadeac57b46 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 28 Feb 2025 17:45:54 +0200 Subject: [PATCH] Updated readme --- .github/workflows/on-pull-request.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index 3d4a786..26ca21e 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -102,8 +102,9 @@ jobs: - name: Push Branch run: | git remote -v - git pull - git push https://x-access-token:${{ secrets.FORK_ORGANISATION_TOKEN }}@github.com/${FORK_REPOSITORY_PATH}.git sync-with-${BASE_BRANCH} + + git pull origin sync-with-${BASE_BRANCH} + git push origin sync-with-${BASE_BRANCH} - name: Create PR in ${{ env.FORK_REPOSITORY_ORGANISATION }}/${{ env.FORK_REPOSITORY_NAME }} if: steps.sync_fork.outcome == 'failure'