Skip to content

Commit 402bae6

Browse files
hyperpolymathclaude
andcommitted
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

File tree

.github/workflows/scorecard-enforcer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
results_file: results.sarif
3838
results_format: sarif
39-
publish_results: true
39+
publish_results: false
4040

4141
- name: Upload SARIF
4242
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4

0 commit comments

Comments
 (0)