Skip to content

Commit ac4daf0

Browse files
committed
fix: remove redundant checkout commands for base and head branches
1 parent 050ce3d commit ac4daf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ runs:
136136
git remote add upstream $'${{ steps.safe-strings.outputs.url }}'
137137
git fetch --deepen=$ALL upstream $'${{ steps.safe-strings.outputs.head_ref }}'
138138
git checkout -b $'upstream/${{ steps.safe-strings.outputs.head_ref}}' $'upstream/${{ steps.safe-strings.outputs.head_ref}}'
139-
git checkout origin/${{ steps.safe-strings.outputs.base_ref }}
140-
git checkout upstream/${{ steps.safe-strings.outputs.head_ref }}
141139
142140
- name: Create cm folder
143141
if: ${{ env.SHOULD_CHECKOUT == 'true' }}

0 commit comments

Comments
 (0)