Repository navigation
ci: batch dependabot updates monthly and add job timeouts - #88
Merged
Merged
Conversation
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.
Summary
Reduce GitHub Actions minutes spent on Dependabot version updates and bound runaway jobs.
.github/dependabot.yml(pip, default branch):dailybecomesmonthly, addscooldown.default-days: 7, and groups all version updates into onemonthly-batchPR. This mirrors the config already used ineducup-serverandeducup-automations.timeout-minutesadded to every job:CI30,analyze(CodeQL) 30,Docs60 (GitHub Pages deploy),Publish60 (release upload).Security updates are unchanged.
groupsusesapplies-to: version-updates, so security PRs still open individually.Expected savings
This repo had 18 Dependabot runs in September. Each Dependabot PR against
mainalso triggers CI and CodeQL. With monthly grouped updates, that drops to roughly one grouped PR per month. Across the three repos in this change set (youtube-extractor, educup-youtube-parser-api, uvm), the combined saving is estimated at ~150–200 Actions minutes/month.Validation
dependabot.ymlvalidates against the SchemaStoredependabot-2.0JSON schema, which includescooldownandgroups.applies-to.actionlint(Dockerrhysd/actionlint:latest) shows no new findings compared with the base branch. The 11 existing findings are outdated action versions (for exampleactions/checkout@v2andgithub/codeql-action@v1) and are out of scope here.Risks