From add444d448b97021fee5dd21bb352b12110180fd Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Sep 2023 22:44:53 +0000 Subject: [PATCH] Update docs --- .github/workflows/upgradeable.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upgradeable.yml b/.github/workflows/upgradeable.yml index ed63a6dbe..acbd71166 100644 --- a/.github/workflows/upgradeable.yml +++ b/.github/workflows/upgradeable.yml @@ -18,10 +18,12 @@ jobs: token: ${{ secrets.GH_TOKEN_UPGRADEABLE }} - name: Fetch current non-upgradeable branch run: | - git fetch "https://github.com/${{ github.repository }}.git" "$REF" + git fetch "$REMOTE" master # Fetch default branch first for patch to apply cleanly + git fetch "$REMOTE" "$REF" git checkout FETCH_HEAD env: REF: ${{ github.ref }} + REMOTE: https://github.com/${{ github.repository }}.git - name: Set up environment uses: ./.github/actions/setup - run: bash scripts/git-user-config.sh