diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9e4920bc3..a7bc39255 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,21 +4,25 @@ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 -updates: - - package-ecosystem: "npm" # See documentation for possible values - directory: "/" # Location of package manifests + +multi-ecosystem-groups: + dependencies: schedule: - interval: "weekly" - groups: - npm-dependencies: - patterns: - - '*' + interval: "monthly" + +updates: + - package-ecosystem: "npm" + directory: "/" + patterns: + - "*" + multi-ecosystem-group: "dependencies" + cooldown: + default-days: 7 - package-ecosystem: "github-actions" directory: "/" - schedule: - interval: "weekly" - groups: - github-actions: - patterns: - - '*' + patterns: + - "*" + multi-ecosystem-group: "dependencies" + cooldown: + default-days: 7 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c3ec30fbc..c6f7e822d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -95,7 +95,7 @@ jobs: uses: dependabot/fetch-metadata@v3 - name: Enable auto-merge for Dependabot PRs - if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' + if: steps.metadata.outputs.update-type != 'version-update:semver-major' run: gh pr merge --admin --squash "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}