Fix upgradeable patch in release branches (#4637)

This commit is contained in:
Francisco
2023-09-28 19:43:33 -03:00
committed by GitHub
parent 58463a9823
commit ef3e7771a7

View File

@ -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