From e91b480385b294c625cda80ca38b1c8b1c85e080 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 13 Jan 2026 18:05:16 +0800 Subject: [PATCH] Fix again --- .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