Skip to content

ci: add timeout-minutes to the 4 reusable-workflow jobs that lacked it#480

Merged
hyperpolymath merged 1 commit into
mainfrom
ci/reusable-workflow-timeouts
Jul 11, 2026
Merged

ci: add timeout-minutes to the 4 reusable-workflow jobs that lacked it#480
hyperpolymath merged 1 commit into
mainfrom
ci/reusable-workflow-timeouts

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Adds timeout-minutes to the 4 reusable-workflow jobs that lacked it:

Reusable workflow Job timeout
hypatia-scan-reusable.yml scan 20m
scorecard-reusable.yml scorecard 15m
governance-reusable.yml workflow-staleness 10m
governance-reusable.yml validate-hypatia-baseline 15m

mirror-reusable.yml and secret-scanner-reusable.yml already set a timeout on every job — untouched.

Why here (not in the consumer repos)

Hypatia flags missing_timeout_minutes on estate repos' workflow files (e.g. gossamer#77 lists governance, hypatia-scan, scorecard, secret-scanner, spark-theatre-gate). But those consumer workflows are thin uses: callers of these reusable workflows — GitHub Actions does not allow timeout-minutes on a job that calls a reusable workflow. So the timeout has to live here. Fixing it once in standards discharges the hygiene item for every estate consumer at once.

Safety

  • Values are generous (won't abort healthy runs); they only cap runaway hangs.
  • YAML validated (yaml.safe_load) for all three edited files; each job confirmed to carry its new timeout-minutes.
  • +4 lines, no logic changes. Commit signed.

Refs gossamer#77 (workflow-hygiene slice).

🤖 Generated with Claude Code

Hypatia `missing_timeout_minutes` hygiene. Repos consume these workflows
via `uses:` and cannot set a job-level timeout themselves, so the fix
belongs here in the reusable workflows:

- hypatia-scan-reusable.yml   scan                       -> 20m
- scorecard-reusable.yml      scorecard                  -> 15m
- governance-reusable.yml     workflow-staleness         -> 10m
- governance-reusable.yml     validate-hypatia-baseline  -> 15m

mirror-reusable.yml and secret-scanner-reusable.yml already cover every
job. Closes the workflow-hygiene item for gossamer#77 and fixes every
estate consumer at once.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath hyperpolymath merged commit eba9456 into main Jul 11, 2026
20 checks passed
@hyperpolymath hyperpolymath deleted the ci/reusable-workflow-timeouts branch July 11, 2026 09:40
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