Skip to content

Commit 7173470

Browse files
committed
ci(renovate): adds renovate bot configuration for jvm project
fixes: #9
1 parent 46c589f commit 7173470

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

.github/renovate.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"extends": [
3+
"github>open-turo/renovate-config#v1.14.0",
4+
"github>open-turo/renovate-config:jvm#v1.14.0"
5+
],
6+
"labels": ["dependencies"],
7+
"prConcurrentLimit": 10,
8+
"packageRules": [
9+
{
10+
"matchPackagePatterns": ["androidx.compose.compiler:compiler"],
11+
"groupName": "kotlin"
12+
},
13+
{
14+
"matchPackagePatterns": ["org.jetbrains.kotlin.*"],
15+
"groupName": "kotlin"
16+
},
17+
{
18+
"matchPackagePatterns": ["com.google.devtools.ksp"],
19+
"groupName": "kotlin"
20+
}
21+
]
22+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Update dependencies
2+
concurrency: update-dependencies
3+
4+
on:
5+
schedule:
6+
# Every day at midnight
7+
- cron: "0 0 * * *"
8+
workflow_dispatch:
9+
issue_comment:
10+
types:
11+
- edited
12+
pull_request:
13+
types:
14+
- edited
15+
16+
jobs:
17+
update-dependencies:
18+
runs-on: ubuntu-latest
19+
name: Update dependencies
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
- uses: open-turo/action-renovate@v1
24+
with:
25+
github-token: ${{ secrets.OPEN_TURO_GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@ repos:
2323
- repo: https://github.com/pre-commit/pre-commit-hooks
2424
rev: v5.0.0
2525
hooks:
26+
- id: check-json
27+
- id: check-yaml
2628
- id: end-of-file-fixer
2729
- id: trailing-whitespace
30+
- repo: https://github.com/rhysd/actionlint
31+
rev: v1.7.7
32+
hooks:
33+
- id: actionlint

0 commit comments

Comments
 (0)