ci: add timeout-minutes to the 4 reusable-workflow jobs that lacked it#480
Merged
Conversation
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>
Open
9 tasks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Adds
timeout-minutesto the 4 reusable-workflow jobs that lacked it:hypatia-scan-reusable.ymlscanscorecard-reusable.ymlscorecardgovernance-reusable.ymlworkflow-stalenessgovernance-reusable.ymlvalidate-hypatia-baselinemirror-reusable.ymlandsecret-scanner-reusable.ymlalready set a timeout on every job — untouched.Why here (not in the consumer repos)
Hypatia flags
missing_timeout_minuteson estate repos' workflow files (e.g. gossamer#77 listsgovernance,hypatia-scan,scorecard,secret-scanner,spark-theatre-gate). But those consumer workflows are thinuses:callers of these reusable workflows — GitHub Actions does not allowtimeout-minuteson a job that calls a reusable workflow. So the timeout has to live here. Fixing it once instandardsdischarges the hygiene item for every estate consumer at once.Safety
yaml.safe_load) for all three edited files; each job confirmed to carry its newtimeout-minutes.Refs gossamer#77 (workflow-hygiene slice).
🤖 Generated with Claude Code