Skip to content

Commit efa5b23

Browse files
Apply pre-commit fix
From the artifact of the previous workflow run
1 parent 8656b05 commit efa5b23

1 file changed

Lines changed: 93 additions & 84 deletions

File tree

.github/renovate.json5

Lines changed: 93 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,159 +1,168 @@
11
{
2-
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"github>camptocamp/gs-renovate-config-preset:base.json5#1.4.3",
5-
"github>camptocamp/gs-renovate-config-preset:group.json5#1.4.3",
6-
"github>camptocamp/gs-renovate-config-preset:ci.json5#1.4.3",
7-
"github>camptocamp/gs-renovate-config-preset:preset.json5#1.4.3",
8-
"github>camptocamp/gs-renovate-config-preset:pre-commit.json5#1.4.3",
9-
"github>camptocamp/gs-renovate-config-preset:docker.json5#1.4.3",
10-
"github>camptocamp/gs-renovate-config-preset:json-schema.json5#1.4.3",
11-
"github>camptocamp/gs-renovate-config-preset:shellcheck.json5#1.4.3",
12-
"github>camptocamp/gs-renovate-config-preset:python.json5#1.4.3",
13-
"github>camptocamp/gs-renovate-config-preset:stabilization-branches.json5#1.4.3",
14-
"github>camptocamp/gs-renovate-config-preset:own.json5#1.4.3",
15-
"github>camptocamp/gs-renovate-config-preset:security.json5#1.4.3",
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
'extends': [
4+
'github>camptocamp/gs-renovate-config-preset:base.json5#1.4.3',
5+
'github>camptocamp/gs-renovate-config-preset:group.json5#1.4.3',
6+
'github>camptocamp/gs-renovate-config-preset:ci.json5#1.4.3',
7+
'github>camptocamp/gs-renovate-config-preset:preset.json5#1.4.3',
8+
'github>camptocamp/gs-renovate-config-preset:pre-commit.json5#1.4.3',
9+
'github>camptocamp/gs-renovate-config-preset:docker.json5#1.4.3',
10+
'github>camptocamp/gs-renovate-config-preset:json-schema.json5#1.4.3',
11+
'github>camptocamp/gs-renovate-config-preset:shellcheck.json5#1.4.3',
12+
'github>camptocamp/gs-renovate-config-preset:python.json5#1.4.3',
13+
'github>camptocamp/gs-renovate-config-preset:stabilization-branches.json5#1.4.3',
14+
'github>camptocamp/gs-renovate-config-preset:own.json5#1.4.3',
15+
'github>camptocamp/gs-renovate-config-preset:security.json5#1.4.3',
16+
],
17+
baseBranchPatterns: [
18+
'prod-2-10',
19+
'prod-2-7',
20+
'prod-2-7-advance',
21+
'prod-2-8',
22+
'prod-2-8-advance',
23+
'prod-2-9',
24+
'prod-2-9-advance',
25+
'prod-2-10-advance',
1626
],
17-
baseBranchPatterns: ["prod-2-10", "prod-2-7", "prod-2-7-advance", "prod-2-8", "prod-2-8-advance", "prod-2-9", "prod-2-9-advance", "prod-2-10-advance"],
1827
/** Packages published very recently are not pushed to stabilization branches for security reasons */
19-
minimumReleaseAge: "7 days",
20-
ignorePaths: ["CONST_create_template/**", "docker-compose-lib.yaml", "ci/**"],
28+
minimumReleaseAge: '7 days',
29+
ignorePaths: ['CONST_create_template/**', 'docker-compose-lib.yaml', 'ci/**'],
2130
html: {
22-
managerFilePatterns: ["/\\.html?$/", "/\\.html?.mako$/"],
31+
managerFilePatterns: ['/\\.html?$/', '/\\.html?.mako$/'],
2332
},
2433
customManagers: [
2534
/** Manage jsdelivr */
2635
{
27-
matchStrings: ["cdn\\.jsdelivr\\.net/npm/(?<depName>[^@]+)@(?<currentValue>[^/]+)"],
28-
datasourceTemplate: "npm",
29-
customType: "regex",
30-
managerFilePatterns: ["/.*\\.html$/"],
36+
matchStrings: ['cdn\\.jsdelivr\\.net/npm/(?<depName>[^@]+)@(?<currentValue>[^/]+)'],
37+
datasourceTemplate: 'npm',
38+
customType: 'regex',
39+
managerFilePatterns: ['/.*\\.html$/'],
3140
},
3241
],
3342
packageRules: [
3443
/** Docker images versioning */
3544
{
36-
matchDatasources: ["docker"],
37-
versioning: "loose",
45+
matchDatasources: ['docker'],
46+
versioning: 'loose',
3847
},
3948
/** Parse Gdal Docker tag */
4049
{
41-
matchDatasources: ["docker"],
42-
versioning: "regex:^(?<compatibility>.*)-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
43-
matchDepNames: ["ghcr.io/osgeo/gdal"],
50+
matchDatasources: ['docker'],
51+
versioning: 'regex:^(?<compatibility>.*)-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$',
52+
matchDepNames: ['ghcr.io/osgeo/gdal'],
4453
},
4554
/** Parse Node Docker tag */
4655
{
47-
matchDatasources: ["docker"],
48-
versioning: "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$",
49-
matchDepNames: ["node"],
56+
matchDatasources: ['docker'],
57+
versioning: 'regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<compatibility>.*)$',
58+
matchDepNames: ['node'],
5059
},
5160
/** Accept only on project managed files. */
5261
{
53-
matchBaseBranches: ["/^prod-.*/"],
62+
matchBaseBranches: ['/^prod-.*/'],
5463
enabled: false,
5564
},
5665
{
57-
matchBaseBranches: ["/^prod-2-10.*/"],
66+
matchBaseBranches: ['/^prod-2-10.*/'],
5867
matchFileNames: [
59-
"ui/**",
60-
"custom/**",
61-
".pre-commit-config.yaml",
62-
".github/renovated.json5",
63-
"package.json",
64-
"geogirafe/**",
68+
'ui/**',
69+
'custom/**',
70+
'.pre-commit-config.yaml',
71+
'.github/renovated.json5',
72+
'package.json',
73+
'geogirafe/**',
6574
],
6675
enabled: true,
6776
},
6877
{
69-
matchBaseBranches: ["/^prod-2-10.*/"],
70-
matchFileNames: [".pre-commit-config.yaml"],
78+
matchBaseBranches: ['/^prod-2-10.*/'],
79+
matchFileNames: ['.pre-commit-config.yaml'],
7180
matchDepNames: [
72-
"pre-commit/pre-commit-hooks",
73-
"pre-commit/mirrors-prettier",
74-
"PyCQA/autoflake",
75-
"PyCQA/isort",
76-
"psf/black",
81+
'pre-commit/pre-commit-hooks',
82+
'pre-commit/mirrors-prettier',
83+
'PyCQA/autoflake',
84+
'PyCQA/isort',
85+
'psf/black',
7786
],
7887
enabled: false,
7988
},
8089
{
81-
matchUpdateTypes: ["major", "minor"],
82-
matchDepNames: ["ngeo"],
90+
matchUpdateTypes: ['major', 'minor'],
91+
matchDepNames: ['ngeo'],
8392
enabled: false,
8493
},
8594
{
86-
matchBaseBranches: ["/^prod-2-7.*/", "/^prod-2-8.*/", "/^prod-2-9.*/"],
87-
matchUpdateTypes: ["patch"],
95+
matchBaseBranches: ['/^prod-2-7.*/', '/^prod-2-8.*/', '/^prod-2-9.*/'],
96+
matchUpdateTypes: ['patch'],
8897
matchFileNames: [
89-
"ui/**",
90-
"custom/**",
91-
".pre-commit-config.yaml",
92-
".github/renovated.json5",
93-
"package.json",
94-
"geogirafe/**",
98+
'ui/**',
99+
'custom/**',
100+
'.pre-commit-config.yaml',
101+
'.github/renovated.json5',
102+
'package.json',
103+
'geogirafe/**',
95104
],
96105
enabled: true,
97106
},
98107
{
99-
matchBaseBranches: ["/^prod-2-7.*/", "/^prod-2-8.*/", "/^prod-2-9.*/"],
100-
matchFileNames: [".pre-commit-config.yaml"],
108+
matchBaseBranches: ['/^prod-2-7.*/', '/^prod-2-8.*/', '/^prod-2-9.*/'],
109+
matchFileNames: ['.pre-commit-config.yaml'],
101110
matchDepNames: [
102-
"pre-commit/pre-commit-hooks",
103-
"pre-commit/mirrors-prettier",
104-
"PyCQA/autoflake",
105-
"PyCQA/isort",
106-
"psf/black",
111+
'pre-commit/pre-commit-hooks',
112+
'pre-commit/mirrors-prettier',
113+
'PyCQA/autoflake',
114+
'PyCQA/isort',
115+
'psf/black',
107116
],
108117
enabled: false,
109118
},
110119
/** Disable upgrading the supported Python version */
111120
{
112-
matchFileNames: ["custom/pyproject.toml"],
121+
matchFileNames: ['custom/pyproject.toml'],
113122
enabled: false,
114-
matchDepNames: ["python"],
123+
matchDepNames: ['python'],
115124
},
116125
{
117-
matchPackageNames: ["shellcheck-py/shellcheck-py"],
118-
versioning: "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$",
126+
matchPackageNames: ['shellcheck-py/shellcheck-py'],
127+
versioning: 'regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)$',
119128
},
120129
/** Ungroup Gdal dependencies */
121130
{
122-
matchDepNames: ["ghcr.io/osgeo/gdal"],
123-
groupName: "Gdal",
131+
matchDepNames: ['ghcr.io/osgeo/gdal'],
132+
groupName: 'Gdal',
124133
},
125134
/** Don't update major version of bootstrap on ui/*.html files */
126135
{
127-
matchFileNames: ["ui/*.html"],
128-
matchUpdateTypes: ["major"],
129-
matchDepNames: ["bootstrap"],
136+
matchFileNames: ['ui/*.html'],
137+
matchUpdateTypes: ['major'],
138+
matchDepNames: ['bootstrap'],
130139
enabled: false,
131140
},
132141
/** Don't update major version on package.json */
133142
{
134-
matchFileNames: ["^package.json"],
135-
matchUpdateTypes: ["major"],
143+
matchFileNames: ['^package.json'],
144+
matchUpdateTypes: ['major'],
136145
enabled: false,
137146
},
138147
/** Make ngeo as loose, daily updates */
139148
{
140-
matchDepNames: ["ngeo"],
141-
groupName: "Ngeo daily",
142-
versioning: "loose",
143-
schedule: "after 5am",
144-
minimumReleaseAge: "0",
149+
matchDepNames: ['ngeo'],
150+
groupName: 'Ngeo daily',
151+
versioning: 'loose',
152+
schedule: 'after 5am',
153+
minimumReleaseAge: '0',
145154
},
146155
/** Make GeoGirafe, daily updates */
147156
{
148-
matchDepNames: ["@geogirafe/.*", "@geoblocks/.*"],
149-
groupName: "GeoGirafe daily",
150-
schedule: "after 5am",
151-
minimumReleaseAge: "0",
157+
matchDepNames: ['@geogirafe/.*', '@geoblocks/.*'],
158+
groupName: 'GeoGirafe daily',
159+
schedule: 'after 5am',
160+
minimumReleaseAge: '0',
152161
},
153162
/** Ignore geogirafe/CONST_scaffold/* files */
154163
{
155164
enabled: false,
156-
matchFileNames: ["geogirafe/CONST_scaffold/**"],
165+
matchFileNames: ['geogirafe/CONST_scaffold/**'],
157166
},
158167
],
159-
}
168+
}

0 commit comments

Comments
 (0)