From 81ae3e47fbeebecaa995101d16196f8cf8b41f81 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Thu, 18 Jun 2026 23:54:44 +0800 Subject: [PATCH] fix(release): pass credentials to cnb asset sync --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e84dab26..ce237695d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -338,8 +338,8 @@ jobs: chmod +x mpgrm ./mpgrm releases sync \ - --repo "https://github.com/${GITHUB_REPOSITORY}.git" \ - --target-repo "https://cnb.cool/${CNB_REPOSITORY}.git" \ + --repo "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" \ + --target-repo "https://cnb:${CNB_TOKEN}@cnb.cool/${CNB_REPOSITORY}.git" \ --tags "${TAG_NAME}" docker: