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)