Add dependabot.yml for dependency version updates #248
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
Adding base config for
dependabot.yml
, which enables automatic PRs for dependency version updates through Dependabot. This base config sets version updates to run on aweekly
schedule, groups PRs for version updates according tomajor
vsminor/patch
updates, and sets max PRs that Dependabot can create for version updates per package-ecosystem.But if you would like, several config options can be added to
dependabot.yml
as per configuration-options-for-the-dependabot.yml-file to customize version updates, such as:dependency-type
option in allow option toall
for enabling version updates for both direct and indirect dependencies (as well as prod and dev dependencies). By default, PRs for only updating direct prod+dev dependencies versions are created.Also, automatic PRs for security updates through Dependabot are enabled through a global setting. PRs for security updates will be grouped as much as possible across directories and per ecosystem through the global setting (grouping-dependabot-security-updates). But
dependabot.yml
can also be used for more granular security updates settings in addition to version updates (some of the options independabot.yml
are shared across security and version updates), such as:production, development, direct, indirect
. By default, security updates are applied to all dependencies (direct, indirect, production, development).Why
To enable using the latest package versions, and provide a way to customize Dependabot security updates PRs.
Known limitations
N/A