Skip to content

Commit

Permalink
Merge pull request #3 from simplificator/separate-rails-group
Browse files Browse the repository at this point in the history
Create separate group for non-patch Rails updates
  • Loading branch information
andyundso authored Oct 5, 2023
2 parents f39fd4f + d0957ba commit 38e470c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/renovate-config-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ jobs:

- name: Validate
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: "default.json"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
14 changes: 14 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@
"patch"
]
},
{
"matchPackageNames": [
"rails"
],
"matchPackagePatterns": [
"^@rails/"
],
"matchUpdateTypes": [
"major",
"minor"
],
"commitMessageAction": "Apply",
"groupName": "all non-patch Rails updates"
},
{
"matchManagers": [
"npm"
Expand Down

0 comments on commit 38e470c

Please sign in to comment.