From 79af004b6e49bcac96afdc99953a33b43b2da3ab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Aug 2026 17:22:49 +0800 Subject: [PATCH] fix(ci): push agent version bump with release token --- .github/workflows/agents-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/agents-release.yml b/.github/workflows/agents-release.yml index f637505d42..57f28a2b48 100644 --- a/.github/workflows/agents-release.yml +++ b/.github/workflows/agents-release.yml @@ -91,10 +91,15 @@ jobs: - name: Apply and push agent version bump shell: bash + env: + RELEASE_TOKEN: ${{ secrets.MCP_RELEASE_TOKEN }} run: | set -euo pipefail git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" + if [ -n "${RELEASE_TOKEN}" ]; then + git remote set-url origin "https://x-access-token:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" + fi git fetch origin main --no-tags git switch --detach origin/main