feat(dependency-manifest.ts): add support for Dependabot commit messages#2584
Merged
ferrarimarco merged 7 commits intogoogleapis:mainfrom Nov 4, 2025
Merged
feat(dependency-manifest.ts): add support for Dependabot commit messages#2584ferrarimarco merged 7 commits intogoogleapis:mainfrom
ferrarimarco merged 7 commits intogoogleapis:mainfrom
Conversation
Refactor regex matching to handle both Renovate and Dependabot commit messages for dependency updates. This change allows the versioning strategy to recognize and process dependency update commits from both tools, enhancing compatibility and automation in dependency management.
Closed
ferrarimarco
requested changes
Sep 22, 2025
Collaborator
ferrarimarco
left a comment
There was a problem hiding this comment.
Hi, thanks for this PR.
Can you please implement a test for this in test/versioning-strategies/dependency-manifest.ts?
Thanks!
…DATE_REGEX test(dependency-manifest.ts): add tests for dependabot dependency updates Add tests to ensure correct version bumping for patch, minor, and major updates. Include tests for both 'chore(deps)' and 'build(deps)' commit messages.
… dependency-manifest tests
Contributor
Author
|
@ferrarimarco done! |
Contributor
Author
|
@ferrarimarco any update? |
Collaborator
|
Thanks for the update. Reviewing now |
ferrarimarco
requested changes
Nov 3, 2025
Collaborator
ferrarimarco
left a comment
There was a problem hiding this comment.
Just a minor thing to check, and we shall be good to go. thanks
…EGEX to DEPENDENCY_UPDATE_REGEX for clarity and reuse
ferrarimarco
approved these changes
Nov 4, 2025
Collaborator
|
@chingor13 can you please review this one? Thanks |
chingor13
approved these changes
Nov 4, 2025
This was referenced Jan 27, 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.
Refactor dependency update regex to support both Renovate and Dependabot commit message formats. Introduce a helper function
matchCommitto handle regex matching for different dependency update tools. This change enables the versioning strategy to recognize and process dependency updates from multiple sources, improving compatibility and automation.Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #2295 🦕