Skip to content

Commit d87d84b

Browse files
committed
update templatet
1 parent 06f3d0b commit d87d84b

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

template/.renovaterc.json.jinja

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@
5858
[%- endif %]
5959
"packageRules": [
6060
[%- if project_name == "Serious Scaffold Python" %]
61-
{
62-
"groupName": "renovate docker tag",
63-
"matchDatasources": [
64-
"docker"
65-
],
66-
"matchDepNames": [
67-
"ghcr.io/renovatebot/renovate",
68-
"renovate/renovate"
69-
]
70-
},
7161
{
7262
"matchDepTypes": [
7363
"action"
@@ -126,6 +116,23 @@
126116
},
127117
"semanticCommitScope": "copier-template"
128118
},
119+
{
120+
"description": "Group renovate docker tag and pre-commit-hooks tag",
121+
"groupName": "renovate tag",
122+
"matchDatasources": [
123+
"docker",
124+
"github-tags"
125+
],
126+
"matchDepNames": [
127+
[%- if repo_host_type == "github.com" %]
128+
"ghcr.io/renovatebot/renovate",
129+
[%- endif %]
130+
[%- if repo_host_type == "gitlab.com" or reop_host_type == "gitlab-self-managed" or project_name == "Serious Scaffold Python" %]
131+
"renovate/renovate",
132+
[%- endif %]
133+
"renovatebot/pre-commit-hooks"
134+
]
135+
},
129136
{
130137
"description": "Group apt packages to avoid failure when multiple packages are outdated.",
131138
"groupName": "apt packages",

0 commit comments

Comments
 (0)