Repository navigation
ci: split Dependabot groups so majors don't block updates - #411
brendanjryan wants to merge 3 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Spec Preview
|
There was a problem hiding this comment.
LGTM. The new commit fixes the security-group batching I flagged before, and the config now does what its header comment says.
What was reviewed:
- All four ecosystems: the
weekly-dependenciesandsecuritygroups both setupdate-types: [minor, patch]. Nothing else matches majors, so each major bump gets its own PR, for version and security updates alike. applies-to: security-updatesis used correctly, and the weekly group defaults to version updates. Each entry now carries thescheduleit needs now thatmulti-ecosystem-groupsis gone. Security PRs don't follow that schedule, which matches the comment.- Cooldowns are unchanged (7 days, 8 for github-actions). The STS auto-merge policy is still limited to patch/minor PRs, which fits the new grouping.
Extended reasoning...
The change touches only .github/dependabot.yml. It swaps a single multi-ecosystem group for per-ecosystem weekly and security groups, both limited to minor and patch updates. No code paths, permissions or workflows change, and CODEOWNERS does not cover this file. The one finding from the earlier review (major security fixes landing in the same group as other security fixes) is fixed by the follow-up commit, which adds update-types: [minor, patch] to all four security groups. The result matches the Dependabot schema and the behaviour the header comment describes.
There was a problem hiding this comment.
I reviewed the latest push and didn't find any bugs. The earlier point about major security fixes is addressed: all four security groups now have update-types: [minor, patch]. One header claim still needs a human to confirm it, because this repository alone can't settle it.
What was reviewed:
- The four ecosystem blocks in .github/dependabot.yml are identical apart from the github-actions cooldown, which stays at 8 days. Each has a weekly schedule and
weekly-dependenciesandsecuritygroups limited to minor/patch, so major updates get their own PRs. - Removing
multi-ecosystem-groupsleaves each ecosystem with a valid per-entryschedule, which Dependabot requires. - The header says security updates "wait for a person to merge them". Nothing in this repo enforces that. .github/workflows/dependabot.yml runs on every PR opened by dependabot[bot], and .github/sts/dependabot.sts.yaml lets it approve and merge patch/minor PRs. Whether security PRs are skipped depends on the reusable tempoxyz/mpp-tools workflow, which I didn't read.
Extended reasoning...
The change touches only .github/dependabot.yml. It replaces one cross-ecosystem weekly group with per-ecosystem schedules and minor/patch groups for version and security updates. It touches no code paths, but it changes which dependency PRs an existing auto-merge workflow will approve and merge, which matters for supply-chain safety. My earlier inline finding is fixed in the current YAML, and CODEOWNERS doesn't cover this file. I'm deferring rather than approving because the header says security PRs need a person to merge them, and that depends on behavior in an external reusable workflow that this review couldn't check.
Dependabot's weekly batch put every update for every ecosystem in one pull request. One breaking release failed CI for the whole batch, and the Dependabot workflow then merged nothing, so updates piled up for weeks.
update-types: [minor, patch]), so the Dependabot workflow can merge them once checks pass.applies-to: security-updates) and are not held to the weekly schedule. This takes effect once Dependabot security updates are turned on for the repository.Schedules (Monday 09:00 America/Los_Angeles) and cooldowns are unchanged.