From 85519ab1cd1abb6ec124f917b6a9ddb52f63341d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 13:57:02 +0000 Subject: [PATCH] fix: address code review feedback - remove duplicate variable, fix report job deps Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> --- .github/workflows/zhuyuan-daily-agent.yml | 2 +- scripts/zhuyuan-daily-agent.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/zhuyuan-daily-agent.yml b/.github/workflows/zhuyuan-daily-agent.yml index 6b291011..0d23370b 100644 --- a/.github/workflows/zhuyuan-daily-agent.yml +++ b/.github/workflows/zhuyuan-daily-agent.yml @@ -125,7 +125,7 @@ jobs: # ── 巡检报告 ── report: name: 📊 巡检报告 - needs: [inspect, fix-bulletin, fix-selfcheck] + needs: [inspect] if: always() runs-on: ubuntu-latest steps: diff --git a/scripts/zhuyuan-daily-agent.js b/scripts/zhuyuan-daily-agent.js index fe801d01..8a2f3ef6 100644 --- a/scripts/zhuyuan-daily-agent.js +++ b/scripts/zhuyuan-daily-agent.js @@ -313,7 +313,6 @@ async function main() { console.log('\n💾 巡检结果已写入 memory.json'); // 输出 GitHub Actions 变量 - const uniqueActions = [...new Set(actions)]; const needBulletin = uniqueActions.includes('trigger_bulletin_update'); const needSelfcheck = uniqueActions.includes('trigger_selfcheck'); const outputFile = process.env.GITHUB_OUTPUT;