Skip to content

Fix dependabot configuration to only update single submodule #1852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Jul 24, 2025

The previous dependabot configuration used the path of the git submodule to limit updates to drivers-evergreen-tools, as we don't want to update libmongoc and libmongocrypt to latest commits. However, this does not work for submodules as dependabot looks for the .gitmodules file in the indicated directory. Instead, we can use allow to limit the dependencies to update (or alternatively, exclude some using ignore). The dependency name in the config file is the name of the submodule from .gitmodules.

@alcaeus alcaeus requested a review from jmikola July 24, 2025 11:30
@alcaeus alcaeus requested a review from a team as a code owner July 24, 2025 11:30
@alcaeus
Copy link
Member Author

alcaeus commented Jul 28, 2025

Test failures on Windows are unrelated.

@alcaeus alcaeus merged commit 5cef592 into mongodb:v2.x Jul 28, 2025
97 of 103 checks passed
@alcaeus alcaeus deleted the fix-wrong-dependabot-config branch July 28, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants