ReviewOS

also looking at this

craft-native/craft

Gate SBOM findings on whether they ship

#321
Merged glennmichael123 wants to merge fix/sbom-shipping-scope into main
5 files +230 -1
.github/workflows/sbom.ymlmodified+6-0
Changes to .github/workflows/sbom.yml
@@ -129,6 +129,12 @@ jobs:
129129 env:
130130 CRAFT_FAIL_HIGH: ${{ inputs.enforce_high || false }}
131131
132 # Always on, unlike enforce_high. Fails when a High or Critical finding is
133 # not confined to paths that publish nothing, and prints the tooling
134 # inventory otherwise so the count stays visible rather than silent.
135 - name: Require High findings to be tooling-only
136 run: bun scripts/sbom-scope.ts scan-results/vulnerabilities.json
137
132138 - name: Upload scan results
133139 if: ${{ always() }}
134140 uses: actions/upload-artifact@v4