Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,11 @@ runs:
if: ${{ env.SHOULD_CHECKOUT == 'true' }}
shell: bash
run: |
ALL=2147483647
cd gitstream && cd repo
git config checkout.defaultRemote origin
git fetch --deepen=$ALL origin $'${{ steps.safe-strings.outputs.base_ref }}'
git fetch --shallow-since="6 months ago" origin $'${{ steps.safe-strings.outputs.base_ref }}'
git remote add upstream $'${{ steps.safe-strings.outputs.url }}'
git fetch --deepen=$ALL upstream $'${{ steps.safe-strings.outputs.head_ref }}'
git fetch --shallow-since="6 months ago" upstream $'${{ steps.safe-strings.outputs.head_ref }}'
git checkout -b $'upstream/${{ steps.safe-strings.outputs.head_ref}}' $'upstream/${{ steps.safe-strings.outputs.head_ref}}'
git checkout $'${{ steps.safe-strings.outputs.base_ref }}'
git checkout $'${{ steps.safe-strings.outputs.head_ref }}'
Expand Down