Skip to content

Commit f6b760e

Browse files
authored
Linbee 17477 gitstream failing due to an error with multiple remote branches (#321)
* fix: update checkout command to use upstream reference for head branch * fix: correct checkout command to use proper syntax for upstream reference * fix: streamline checkout process by removing redundant commands * fix: update checkout commands to correctly reference base and head branches * fix: remove redundant checkout commands for base and head branches * fix: enhance checkout process by configuring default remote and ensuring proper branch checkouts
1 parent a54dd60 commit f6b760e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ runs:
132132
run: |
133133
ALL=2147483647
134134
cd gitstream && cd repo
135+
git config checkout.defaultRemote origin
135136
git fetch --deepen=$ALL origin $'${{ steps.safe-strings.outputs.base_ref }}'
136137
git remote add upstream $'${{ steps.safe-strings.outputs.url }}'
137138
git fetch --deepen=$ALL upstream $'${{ steps.safe-strings.outputs.head_ref }}'

0 commit comments

Comments
 (0)