[MAINT]: Group github-actions minor/patch Dependabot updates#112
Open
nina-msft wants to merge 1 commit into
Open
[MAINT]: Group github-actions minor/patch Dependabot updates#112nina-msft wants to merge 1 commit into
nina-msft wants to merge 1 commit into
Conversation
Add a minor-and-patch group to the github-actions ecosystem so minor and patch action updates are combined into a single pull request, alongside the existing security-minor-and-patch group and mirroring the uv ecosystem configuration. This prevents Dependabot from splitting a single action upgrade (such as github/codeql-action init and analyze) into separate PRs, which leaves the workflow with mismatched action versions and fails CI. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
c6138c1 to
a5fc22f
Compare
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 a
minor-and-patchgroup to thegithub-actionsecosystem in.github/dependabot.yml, mirroring the existinguvecosystem configuration.Why
Without a version-update group, Dependabot opens one PR per dependency for the
github-actionsecosystem. Becausegithub/codeql-action/initandgithub/codeql-action/analyzeare distinct dependency names, a single action upgrade gets split into two PRs (e.g. #107 and #109 for4.36.2 → 4.37.0).CodeQL requires the
initandanalyzesteps to run the same version, so each split PR on its own leavescodeql.ymlwith mismatched versions and fails CI with a configuration error:Grouping combines both bumps into a single PR/commit, so the workflow is never left in a mismatched state.
Effect
main(Dependabot reads its config from the default branch).@dependabot recreateon [MAINT]: Bump github/codeql-action/analyze from 4.36.2 to 4.37.0 #107/[MAINT]: Bump github/codeql-action/init from 4.36.2 to 4.37.0 #109.Notes
minorandpatchupdates, consistent with theuvecosystem group already in this file.