Skip to content

Commit f6a16ee

Browse files
hyperpolymathclaude
andcommitted
fix(scorecard): inline scorecard steps so OSSF webapp can verify job
The reusable-workflow form caused startup_failure (0 jobs created) with job name 'scorecard'. Switch to an inline job with only `uses:` steps — satisfies OSSF scorecard-action's workflow-restriction check (no `run:` steps, job named 'scorecard'). All three action SHAs are pinned. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 092f50b commit f6a16ee

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,21 @@ permissions: read-all
1212

1313
jobs:
1414
scorecard:
15+
runs-on: ubuntu-latest
1516
permissions:
1617
security-events: write
1718
id-token: write
18-
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@e0caf11508a3989574713c78f5f444f2ce5e33ef
19-
secrets: inherit
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
with:
22+
persist-credentials: false
23+
24+
- uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
25+
with:
26+
results_file: results.sarif
27+
results_format: sarif
28+
publish_results: true
29+
30+
- uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3.31.8
31+
with:
32+
sarif_file: results.sarif

0 commit comments

Comments
 (0)