Skip to content

Commit

Permalink
Add renovate.json (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Mar 14, 2023
1 parent 16cb342 commit 42ea81f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>HSLdevcom/jore4-tools//renovatebot/jore4-default-preset.json5"],

// repository-specific additional rules about grouping, exclusions and inclusions
// Note: if the rule feels generic enough, should consider adding it to the jore4 default preset
packageRules: [
{
// restrict spring boot updates to <3 versions for now
groupName: "spring boot",
groupSlug: "spring-boot",
matchPackageNames: ["org.springframework.boot"],
matchPackagePrefixes: ["org.springframework.boot:"],
allowedVersions: "<3",
},
],
}
17 changes: 17 additions & 0 deletions .github/workflows/check-renovatebot-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check renovatebot config

on:
pull_request:

jobs:
validate:
name: Validate renovatebot config
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Validate
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: .github/renovate.json5

0 comments on commit 42ea81f

Please sign in to comment.