diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 78c5c651..9a1bc826 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,7 @@ version: 2 updates: - # Go modules — weekly version-update PRs. Security-update PRs are a separate + # Go modules — weekly version-update PRs. Minor and patch updates are + # grouped into one PR; majors stay separate. Security-update PRs are a separate # repo setting (Settings → Code security and analysis → Dependabot alerts + # security updates); this config does not enable them. - package-ecosystem: "gomod" @@ -13,8 +14,16 @@ updates: - "dependencies" commit-message: prefix: "deps" + groups: + go-minor-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch" - # GitHub Actions — weekly check for action version updates. Dependabot + # GitHub Actions — weekly check for action version updates. Minor and patch + # updates are grouped into one PR; majors stay separate. Dependabot # updates SHA-pinned actions to the latest release SHA. - package-ecosystem: "github-actions" directory: "/" @@ -27,3 +36,10 @@ updates: - "github-actions" commit-message: prefix: "ci" + groups: + actions-minor-patch: + patterns: + - "*" + update-types: + - "minor" + - "patch"