File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1616 # read more: https://github.com/actions/checkout?tab=readme-ov-file#usage
1717 - name : Update origin/main
1818 run : |
19- git fetch --depth 10000 origin main
20- git checkout origin/main
21- git checkout -B main
19+ git fetch origin main
20+ git checkout --depth 10000 origin/main
21+ git checkout --depth 10000 - B main
2222 git pull --depth 10000 origin main
2323
2424 # go back to the HEAD commit
Original file line number Diff line number Diff line change 2121 comment_on_pr : false
2222 - uses : actions/checkout@v4
2323 with :
24- fetch-depth : 0
24+ fetch-depth : 10000
2525 ref : ${{ github.ref }} # checkout to latest branch changes ( by default this action checkouts to the SHA that triggers action )
2626 - uses : ./.github/actions/rebase # Would it work?
2727 - name : Create Single Cluster
You can’t perform that action at this time.
0 commit comments