Skip to content

Commit

Permalink
Fix upgradeable patch in release branches (#4637)
Browse files Browse the repository at this point in the history
(cherry picked from commit ef3e777)
  • Loading branch information
frangio committed Sep 28, 2023
1 parent 322df42 commit fb2aec6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/upgradeable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb2aec6

Please sign in to comment.