Skip to content

Commit 42ea81f

Browse files
Add renovate.json (#12)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 16cb342 commit 42ea81f

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/renovate.json5

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["github>HSLdevcom/jore4-tools//renovatebot/jore4-default-preset.json5"],
4+
5+
// repository-specific additional rules about grouping, exclusions and inclusions
6+
// Note: if the rule feels generic enough, should consider adding it to the jore4 default preset
7+
packageRules: [
8+
{
9+
// restrict spring boot updates to <3 versions for now
10+
groupName: "spring boot",
11+
groupSlug: "spring-boot",
12+
matchPackageNames: ["org.springframework.boot"],
13+
matchPackagePrefixes: ["org.springframework.boot:"],
14+
allowedVersions: "<3",
15+
},
16+
],
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Check renovatebot config
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
validate:
8+
name: Validate renovatebot config
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
14+
- name: Validate
15+
uses: suzuki-shunsuke/[email protected]
16+
with:
17+
config_file_path: .github/renovate.json5

0 commit comments

Comments
 (0)