Commit baab153
fix(scorecard-enforcer): fix score parsing; make score check advisory
The minimum-score check was parsing from the wrong SARIF path
('.runs[0].tool.driver.properties.score') which always returned 0.
Correct path is '.runs[0].properties.metricResults[] | AggregateScore'.
Score check is now advisory (informational only) — hard enforcement
is via scorecard.yml + the OSSF webapp badge.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 402bae6 commit baab153
1 file changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments