Skip to content

fix(ci): drop illegal timeout-minutes from scorecard caller (finish #65)#66

Merged
hyperpolymath merged 1 commit into
mainfrom
fix-scorecard-timeout
Jul 6, 2026
Merged

fix(ci): drop illegal timeout-minutes from scorecard caller (finish #65)#66
hyperpolymath merged 1 commit into
mainfrom
fix-scorecard-timeout

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Follow-up to #65.

Problem

#65 added the required caller permissions (clearing the original startup_failure from missing security-events/id-token), but it also copied timeout-minutes: 15 from rsr-template-repo. That key is not permitted on a job that calls a reusable workflow via uses: — only name/uses/with/secrets/needs/if/permissions are allowed — so the Scorecard run kept failing at startup.

Confirmed with actionlint:

when a reusable workflow is called with "uses", "timeout-minutes" is not available.

Fix

Remove timeout-minutes. Keep the permissions block (the real fix) and the concurrency guard. actionlint now passes clean.

Upstream note

hyperpolymath/rsr-template-repo's scorecard.yml carries the same invalid timeout-minutes and needs the same fix — its own Scorecard run is likely failing too.

🤖 Generated with Claude Code

PR #65 added the required caller permissions (which cleared the original
startup_failure) but also copied `timeout-minutes: 15` from rsr-template-repo.
That key is NOT permitted on a job that calls a reusable workflow via `uses:` —
only name/uses/with/secrets/needs/if/permissions are allowed — so the run kept
failing at startup (actionlint syntax-check confirms).

Remove timeout-minutes; keep the permissions block and concurrency guard.

NOTE: rsr-template-repo's scorecard.yml carries the same invalid timeout-minutes
and needs the same fix upstream.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath merged commit 618885e into main Jul 6, 2026
24 of 28 checks passed
@hyperpolymath
hyperpolymath deleted the fix-scorecard-timeout branch July 6, 2026 20:53
@sonarqubecloud

sonarqubecloud Bot commented Jul 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant