Skip to content

Commit 23500a4

Browse files
authored
Merge pull request #284 from dafyddj/ci/pre-commit
ci(renovate): enable and group Pre-commit hook non-major updates
2 parents eb777d5 + 848dcec commit 23500a4

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/renovate.json5

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
enabledManagers: [
44
'gitlabci',
5+
'pre-commit',
56
],
67
extends: [
78
'config:best-practices',
9+
':enablePreCommit',
810
],
911
automergeStrategy: 'merge-commit',
1012
dependencyDashboardTitle: 'Renovate Dashboard',
@@ -22,5 +24,15 @@
2224
'patch',
2325
],
2426
},
27+
{
28+
groupName: 'pre-commit hook minor/patch',
29+
matchManagers: [
30+
'pre-commit',
31+
],
32+
matchUpdateTypes: [
33+
'minor',
34+
'patch'
35+
],
36+
},
2537
],
2638
}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ repos:
7575
- id: salt-lint
7676
name: Check Salt files using salt-lint
7777
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
78-
- repo: https://github.com/myint/rstcheck
78+
- repo: https://github.com/rstcheck/rstcheck
7979
rev: v6.2.0
8080
hooks:
8181
- id: rstcheck

0 commit comments

Comments
 (0)