Skip to content

Commit 654e248

Browse files
fix(ci): clear OSSF Scorecard startup_failure (#32)
Fixes the OSSF Scorecard workflow, which failed at startup on every run. **Cause:** reusable-workflow caller missing `security-events: write`+`id-token: write` (reusable perms are capped by the caller), and/or an illegal `timeout-minutes` key on a `uses:` job. **Fix:** inject caller permissions and/or drop `timeout-minutes`. Pin preserved. Verified with actionlint. Part of an estate-wide Scorecard remediation. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 2a9c5ee commit 654e248

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ permissions: read-all
1313
jobs:
1414
analysis:
1515
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@d7c22711e830e1f383846472f6e9b99debdb201e
16-
secrets: inherit
16+
permissions:
17+
contents: read
18+
security-events: write
19+
id-token: write
20+
secrets: inherit

0 commit comments

Comments
 (0)