File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 steps :
2020 - name : Checkout repository
2121 uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
2224
2325 - name : Setup Bun
2426 uses : ./.github/actions/setup-bun
Original file line number Diff line number Diff line change @@ -34,18 +34,6 @@ async function main() {
3434 throw new Error ( `Failed to checkout beta branch: ${ checkoutBeta . stderr } ` )
3535 }
3636
37- const shallow = await run ( [ "git" , "rev-parse" , "--is-shallow-repository" ] )
38- if ( shallow . exitCode !== 0 ) {
39- throw new Error ( `Failed to check shallow state: ${ shallow . stderr } ` )
40- }
41- if ( shallow . stdout . trim ( ) === "true" ) {
42- console . log ( "Unshallowing repository..." )
43- const unshallow = await run ( [ "git" , "fetch" , "--unshallow" ] )
44- if ( unshallow . exitCode !== 0 ) {
45- throw new Error ( `Failed to unshallow repository: ${ unshallow . stderr } ` )
46- }
47- }
48-
4937 const applied : number [ ] = [ ]
5038 const skipped : Array < { number : number ; reason : string } > = [ ]
5139
You can’t perform that action at this time.
0 commit comments