ReviewOS

also looking at this

craft-native/craft

Decide dependency advisories instead of counting them

#320
Merged glennmichael123 wants to merge fix/advisory-retention-policy into main
6 files +324 -1
.github/workflows/ci.ymlmodified+9-0
Changes to .github/workflows/ci.yml
@@ -297,6 +297,15 @@ jobs:
297297 - name: Test agent environment briefing
298298 run: bun test scripts/agents-guidelines.test.ts
299299
300 - name: Test dependency advisory policy
301 run: bun test scripts/advisory-policy.test.ts
302
303 # Reads the registry, so this is the step that turns a newly published
304 # advisory into a red build rather than a larger number in a report.
305 # Clearing it is one reviewed entry in scripts/retained-advisories.ts.
306 - name: Review dependency advisories
307 run: bun scripts/advisory-policy.ts
308
300309 - name: Test merged SBOM inventory
301310 run: bun test scripts/merge-sbom.test.ts
302311