From ac0853e913a876ae0f03fdbcdd18805f2ca6c6c9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 05:49:40 +0000 Subject: [PATCH] fix: use force push with GitHub token authentication Co-authored-by: louislam <1336778+louislam@users.noreply.github.com> --- .github/workflows/beta-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index 4b66b1033..48cc2bb70 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -39,9 +39,13 @@ jobs: node-version: 24 - name: Create release branch + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" + # Configure git to use the GitHub token for authentication + git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" # Delete local release branch if it exists git branch -D release || true # Create new release branch from current HEAD (master)