ci: group action updates so a split upgrade cannot break ci - #53
Merged
Conversation
The github-actions ecosystem had no groups at all, so one codeql-action upgrade arrived as three pull requests, one per action path. Two of them were red by construction: `init` and `analyze` ship from the same commit and the action refuses to run when they disagree, so bumping either half alone fails, and merging them in sequence would have left main with a broken CodeQL job in between. This is the same fix already applied to npm, extended to the ecosystem that turned out to need it more — there, a split update is noise; here it is a failure. Both `applies-to` values again, since the default covers version updates only. Validated against the SchemaStore dependabot-2.0 schema.
This was referenced Aug 8, 2026
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.
Follow-up to #46, which grouped the npm ecosystem. The
github-actionsblock had nogroupskey at all — and it is the one where the omission actually breaks something.What went wrong without it
One
codeql-actionupgrade, 4.37.4 → 4.37.6, arrived as three pull requests (#49, #50, #51), one per action path. Two were red by construction:initandanalyzeship from the same commit, and the action refuses to run when they disagree. Bumping either half alone fails; merging them in sequence would have leftmaincarrying a broken CodeQL job between the two merges. #52 repairs that instance by moving all three pins in one commit — this pull request stops it happening again.Worth stating the difference from #46: on the npm side an ungrouped security update is noise. Here it is a failure. Same fix, higher stakes.
The change
Both
applies-tovalues for the same reason as #46 — the default covers version updates only, so security advisories would still bypass grouping. A catch-all is right here: this repository uses a handful of first-party actions, and the failure mode is upgrades arriving split, never upgrades arriving together.How it was tested
Same caveat as #46: GitHub parses
dependabot.ymlonly from the default branch, so no check on this pull request validates it. Schema validation is the strongest pre-merge proof; after merge, Insights → Dependency graph → Dependabot reports a config error if one exists.Contract impact
None. Repository automation only.