From 4e68b8d0498d0c2e6389b7ac2bb55b0748ab0b5f Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 13 Jan 2026 18:08:11 +0800 Subject: [PATCH 1/3] fix: beta workflow again again again (#6706) --- .github/workflows/beta-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index 7cb1e756e..fa8b0f412 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -41,9 +41,11 @@ jobs: - name: Create release branch env: VERSION: ${{ inputs.version }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" + git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git" # Delete remote branch if it exists git push origin --delete "release-${VERSION}" || true # Delete local branch if it exists From 85863bdb97c8a33d788d686e9e01c566b9044aae Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 18:24:30 +0800 Subject: [PATCH 2/3] fix: beta workflow (#6708) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: louislam <1336778+louislam@users.noreply.github.com> --- extra/release/beta.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extra/release/beta.mjs b/extra/release/beta.mjs index 3516a5fa4..d951bcba8 100644 --- a/extra/release/beta.mjs +++ b/extra/release/beta.mjs @@ -13,7 +13,6 @@ import { createReleasePR, } from "./lib.mjs"; import semver from "semver"; -import { spawnSync } from "node:child_process"; const repoNames = getRepoNames(); const version = process.env.RELEASE_BETA_VERSION; @@ -51,10 +50,7 @@ await checkTagExists(repoNames, version); // node extra/beta/update-version.js execSync("node ./extra/beta/update-version.js"); -// Git Push -spawnSync("git", ["push", "origin", branchName], { stdio: "inherit" }); - -// Create Pull Request +// Create Pull Request (gh pr create will handle pushing the branch) await createReleasePR(version, previousVersion, dryRun, branchName, githubRunId); // Build frontend dist From 2f82ff3787d15a8bc04439e4926d23c7abdd74f9 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 18:43:24 +0800 Subject: [PATCH 3/3] fix: beta workflow - remove incorrect push that prevents PR creation (#6709) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: louislam <1336778+louislam@users.noreply.github.com> --- extra/beta/update-version.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/beta/update-version.js b/extra/beta/update-version.js index 240d44608..5465763df 100644 --- a/extra/beta/update-version.js +++ b/extra/beta/update-version.js @@ -58,8 +58,8 @@ function commit(version) { throw new Error("commit error"); } - res = childProcess.spawnSync("git", ["push", "origin", "master"]); - console.log(res.stdout.toString().trim()); + // Note: Push is handled by gh pr create in the release script + // No need to push here as we're on a release branch, not master } /**