Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 1aade4b

Browse files
committed
ci
1 parent 2e005de commit 1aade4b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
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

script/beta.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)