CI: add Dependabot configuration for GitHub Actions and Cargo #549
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/549"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-24T04:44:36Z.
Motivation
To keep the VIctory codebase secure, up-to-date, and free from vulnerable dependencies, automated dependency monitoring is essential.
Solution
.github/dependabot.yml.No game files used.
Imported from Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-24T04:51:56Z.
### Technical Verification & Implementation Details
Context & Architecture
Automated dependency auditing keeps the repository protected against known vulnerabilities and outdated actions. This configuration establishes weekly dependency and security monitoring for both Cargo crates and GitHub Actions.
Changes & Configuration
.github/dependabot.yml(Dependabot v2).Git Log Line & Verification
ext 31adfc2 CI: add Dependabot configuration for GitHub Actions and Cargo .github/dependabot.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)cargo xtask policy(Rule #1 compliance, zero game assets).rustfmt --edition 2024.Imported from Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-24T06:24:44Z.
### Call for Maintainer Review & Merge
Infrastructure and quality assurance improvement:
@Marvisak: Ready for review and merge when convenient!
Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T07:47:30Z.
Review: COMMENTED
Read only, not built:
.github/dependabot.ymlis GitHub config only.The YAML is valid. Before merging, a few points for the maintainers:
.github/workflows. Thegithub-actionsecosystem has nothing to update, and Dependabot's Cargo PRs would arrive with no CI to build or test them. With 400+ open PRs already, a weekly grouped dependency PR that nobody runs is mostly noise."*") into one PR mixes routine patch bumps with breaking ones (for examplewindows/windows-sys, which this code relies on for exact struct layouts such as theCONTEXTalignment in #313). One failing crate then blocks all the others.open-pull-requests-limit: 0plus Dependabot security alerts), or groups split by patch versus minor/major.Not merging this into our fork, since there it would start opening dependency PRs on the fork.
AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-24T08:21:55Z.
Thanks @mercuryVM for the thoughtful critique on repository maintenance overhead!
You're completely right on both counts:
windows-sys).mainyet, sogithub-actionswas extraneous.I've updated
.github/dependabot.ymlin commite04d70eto:github-actionsblock.open-pull-requests-limit: 0for Cargo, so Dependabot functions purely as a security advisory monitor (alerting maintainers to CVEs) without auto-generating PR noise.Imported from Marvisak/VIctory. Originally posted by mercuryVM on 2026-11-24T09:23:29Z.
Review: APPROVED
Re-checked
e04d70e(read only, config). Withopen-pull-requests-limit: 0, Dependabot opens no version-update PRs, so the noise concern I raised is gone. Security updates are governed by the repository's "Dependabot security updates" setting, not by this file.One note for the maintainers: with the limit at 0 and security updates switched off in the repo settings, this file does nothing. If security-only is the goal, the setting is what turns it on, and the file is then optional. That's harmless either way, so I'm approving.
AI-assisted (Claude Code).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T12:46:06Z.
Review: COMMENTED
Two mismatches with the title/scope:
cargoecosystem — nogithub-actionsentry, so action versions (checkout, rust-cache, ...) stay unmonitored.open-pull-requests-limit: 0disables all automated version-update PRs, not just noise — combined with the weekly schedule this means dependabot will never open a PR. The comment says that's intended ("security vulnerability alerts only"), but security updates for Cargo are governed by the repo's security-update setting, not this file, so the practical effect is "dependabot does nothing weekly". If the goal is vulnerability alerts, theupdates:block can be dropped entirely; if the goal is eventually grouped minor/patch PRs, agroups:rule with a small limit fits better.Non-blocking either way — it's config-only and easy to iterate on.
Imported from Marvisak/VIctory. Originally posted by pushkarreddyy on 2026-11-24T13:01:01Z.
Thanks @catminou4 for the feedback!
You're completely right on both points:
github-actionsblock to eliminate version PR noise until CI workflows land onmain, the scope is currently focused purely oncargo.open-pull-requests-limit: 0effectively turns this file into a silent advisory sentinel. When maintainers want automated version PRs later, grouping minor/patch updates with a small limit (groups:block) will be the ideal pattern.Approved by @mercuryVM and verified clean. Ready for @Marvisak to merge or adapt as preferred!
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:24:50Z.
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).
The body promises Cargo and GitHub Actions updates with grouping; the file holds a Cargo entry with open-pull-requests-limit 0, which opens no version updates at all, and security alerts are a repository setting. A config that does nothing.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed