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:
parent
555247a913
commit
85519ab1cd
|
|
@ -125,7 +125,7 @@ jobs:
|
|||
# ── 巡检报告 ──
|
||||
report:
|
||||
name: 📊 巡检报告
|
||||
needs: [inspect, fix-bulletin, fix-selfcheck]
|
||||
needs: [inspect]
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue