diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1fd0cb37c8..c9846fd177 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,26 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: +# Dependabot configuration. # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +# +# Routine version updates are batched into a single weekly PR. Security +# advisories are handled by GitHub's separate Dependabot security-updates +# feature (Settings → Code security & analysis), which bypasses this schedule +# and opens individual PRs immediately when a vulnerability is matched. version: 2 updates: - - package-ecosystem: 'npm' # See documentation for possible values - directory: '/' # Location of package manifests + - package-ecosystem: 'npm' + directory: '/' schedule: - interval: 'daily' + interval: 'weekly' + open-pull-requests-limit: 5 + groups: + npm-minor-and-patch: + applies-to: version-updates + patterns: + - '*' + update-types: + - 'minor' + - 'patch' + commit-message: + prefix: 'chore(deps)' + include: 'scope'