fix: address code review feedback - remove duplicate variable, fix report job deps

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-10 13:57:02 +00:00
parent 555247a913
commit 85519ab1cd
2 changed files with 1 additions and 2 deletions

View File

@ -125,7 +125,7 @@ jobs:
# ── 巡检报告 ──
report:
name: 📊 巡检报告
needs: [inspect, fix-bulletin, fix-selfcheck]
needs: [inspect]
if: always()
runs-on: ubuntu-latest
steps:

View File

@ -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;