From 7b36c26661420fcc8d226b281a085ada413ddd46 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 28 Feb 2025 17:07:06 +0200 Subject: [PATCH] Updated readme --- .github/workflows/on-pull-request.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index 43ca6b8..afc2a1a 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -28,6 +28,10 @@ on: types: - closed + +permissions: + contents: write + jobs: sync_farajaland: if: ${{ github.event.pull_request.merged == true }} @@ -72,6 +76,9 @@ jobs: run: | git config --global user.email "you@example.com" git config --global user.name "Your Name" + - name: Set up authentication + run: git config --global url."https://${{ secrets.FORK_ORGANISATION_TOKEN }}:x-oauth-basic@github.com/".insteadOf "https://github.com/" + - if: steps.sync_fork.outcome == 'failure' name: Merge changes from upstream id: merge