diff --git a/.github/workflows/renovate-config-validation.yml b/.github/workflows/renovate-config-validation.yml index 2ca0fa1..94f837d 100644 --- a/.github/workflows/renovate-config-validation.yml +++ b/.github/workflows/renovate-config-validation.yml @@ -15,3 +15,5 @@ jobs: - name: Validate uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.3 + with: + config_file_path: "default.json" diff --git a/README.md b/README.md index 98398d9..8c8245a 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ A Renovate preset with common configuration for all Simplificator projects. The * Regex manager to update the bundler version found in `Gemfile.lock`. * Group all non-major updates for packages with versions above 1.0.0. * Group all patch updates for packages below version 1.0.0. +* Create a separate group for all non-patch Rails updates. * Apply the `bump` strategy for `npm`. * Apply the `update-lockfile` strategy for `bundler`. * Apply the `pin` strategy for `mix`. diff --git a/default.json b/default.json index 44b8aa0..a7d01b3 100644 --- a/default.json +++ b/default.json @@ -54,6 +54,20 @@ "patch" ] }, + { + "matchPackageNames": [ + "rails" + ], + "matchPackagePatterns": [ + "^@rails/" + ], + "matchUpdateTypes": [ + "major", + "minor" + ], + "commitMessageAction": "Apply", + "groupName": "all non-patch Rails updates" + }, { "matchManagers": [ "npm"