From 1a20412c82fa287f1ffa0c1d380b7d2be19405a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Apr 2026 10:29:30 +0000 Subject: [PATCH] =?UTF-8?q?D60=20=C2=B7=20=E4=BF=AE=E5=A4=8D=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=AE=A1=E6=9F=A5=E5=8F=8D=E9=A6=88=20=C2=B7=20workfl?= =?UTF-8?q?ow=E6=9D=A1=E4=BB=B6=E5=88=A4=E6=96=AD+=E5=AF=86=E9=92=A5?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/616f64d2-5009-493b-b3b2-c78161f6b30b Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> --- .github/workflows/cos-auto-join.yml | 2 +- scripts/cos-auto-join-agent.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cos-auto-join.yml b/.github/workflows/cos-auto-join.yml index b9ab94d3..d6dfd6c1 100644 --- a/.github/workflows/cos-auto-join.yml +++ b/.github/workflows/cos-auto-join.yml @@ -94,7 +94,7 @@ jobs: fi - name: 🔔 新接入通知 - if: steps.check.outputs.connected_count > 0 + if: steps.check.outputs.connected_count != '0' && steps.check.outputs.connected_count != '' uses: actions/github-script@v7 with: script: | diff --git a/scripts/cos-auto-join-agent.js b/scripts/cos-auto-join-agent.js index 002df297..b9a6eef8 100644 --- a/scripts/cos-auto-join-agent.js +++ b/scripts/cos-auto-join-agent.js @@ -139,6 +139,7 @@ function writeLog(entry) { // ─── 检查单个成员的COS桶 ─── async function checkMemberBucket(member) { const { persona_id, bucket, region } = member; + // 支持两套密钥命名(ZY_OSS_* 用于铸渊核心桶 · COS_SECRET_* 用于团队共享桶) const secretId = process.env.ZY_OSS_KEY || process.env.COS_SECRET_ID || ''; const secretKey = process.env.ZY_OSS_SECRET || process.env.COS_SECRET_KEY || '';