Skip to content

Commit d669afe

Browse files
authored
Merge pull request #12 from dafyddj/feat/pindigests
feat: add `pinDigest` to preset `groupManager`
2 parents 4c19adf + 979ed12 commit d669afe

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
77
rev: v5.0.0
88
hooks:
9+
- id: check-json
10+
name: Check JSON files with check-json
911
- id: check-yaml
1012
name: Check YAML files with check-yaml
1113
- repo: https://github.com/python-jsonschema/check-jsonschema
@@ -23,5 +25,6 @@ repos:
2325
(?x)(
2426
(^|/).?renovate(?:rc)?(?:\.json5?)?$|
2527
default.json|
26-
copier.json
28+
copier.json|
29+
(?!)
2730
)$

groupManager.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
"description": "Group non-major updates by manager",
44
"packageRules": [
55
{
6-
groupName: "`{{arg0}}` non-major {{arg1}}",
7-
matchManagers: [
6+
"groupName": "`{{arg0}}` non-major {{arg1}}",
7+
"matchManagers": [
88
"{{arg0}}"
99
],
10-
matchUpdateTypes: [
10+
"matchUpdateTypes": [
1111
"digest",
1212
"minor",
13-
"patch"
13+
"patch",
14+
"pinDigest"
1415
]
1516
}
1617
]

0 commit comments

Comments
 (0)