Commit 402bae6
fix(scorecard-enforcer): set publish_results=false to avoid webapp rejection
The scorecard-enforcer job has a 'run:' step (minimum score check)
which violates OSSF scorecard-action's workflow-restriction: when
publish_results=true the webapp validates that the 'scorecard' job
contains ONLY 'uses:' steps, and rejects any 'run:' step with HTTP 400.
Setting publish_results=false skips the webapp publish entirely;
the SARIF is still uploaded via github/codeql-action/upload-sarif for
Code Scanning alerts, and the minimum-score run: step continues to work.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f6a16ee commit 402bae6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments