summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/beta.yml2
-rwxr-xr-xscript/beta.ts12
2 files changed, 2 insertions, 12 deletions
diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml
index f7ad115a2..b9aa49896 100644
--- a/.github/workflows/beta.yml
+++ b/.github/workflows/beta.yml
@@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Setup Bun
uses: ./.github/actions/setup-bun
diff --git a/script/beta.ts b/script/beta.ts
index 68cbd1097..7a3dfcccf 100755
--- a/script/beta.ts
+++ b/script/beta.ts
@@ -34,18 +34,6 @@ async function main() {
throw new Error(`Failed to checkout beta branch: ${checkoutBeta.stderr}`)
}
- const shallow = await run(["git", "rev-parse", "--is-shallow-repository"])
- if (shallow.exitCode !== 0) {
- throw new Error(`Failed to check shallow state: ${shallow.stderr}`)
- }
- if (shallow.stdout.trim() === "true") {
- console.log("Unshallowing repository...")
- const unshallow = await run(["git", "fetch", "--unshallow"])
- if (unshallow.exitCode !== 0) {
- throw new Error(`Failed to unshallow repository: ${unshallow.stderr}`)
- }
- }
-
const applied: number[] = []
const skipped: Array<{ number: number; reason: string }> = []