-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathrenovate.json
More file actions
146 lines (144 loc) · 5.81 KB
/
Copy pathrenovate.json
File metadata and controls
146 lines (144 loc) · 5.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"onboarding": false,
"requireConfig": "ignored",
"platform": "github",
"repositories": ["atomvm/AtomVM"],
"extends": ["config:recommended", "helpers:pinGitHubActionDigestsToSemver"],
"labels": ["dependencies"],
"configMigration": true,
"customManagers": [
{
"description": "mbedtls fetched via FetchContent",
"customType": "regex",
"managerFilePatterns": [
"/^CMakeModules/FetchMbedTLS\\.cmake$/"
],
"matchStrings": ["GIT_TAG\\s+v(?<currentValue>[^\\s\\n]+)"],
"depNameTemplate": "mbed-TLS/mbedtls",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"description": "Unity test framework fetched via FetchContent",
"customType": "regex",
"managerFilePatterns": [
"/^CMakeModules/FetchUnity\\.cmake$/"
],
"matchStrings": ["GIT_TAG\\s+v(?<currentValue>[^\\s\\n]+)"],
"depNameTemplate": "ThrowTheSwitch/Unity",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"description": "ARM CMSIS Core fetched via FetchContent",
"customType": "regex",
"managerFilePatterns": [
"/^src/platforms/stm32/cmake/stm32_sdk\\.cmake$/"
],
"matchStrings": ["cmsis_core\\.git\\s+GIT_TAG\\s+v(?<currentValue>[^\\s\\n]+)"],
"depNameTemplate": "STMicroelectronics/cmsis_core",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"description": "STM32 family CMSIS device headers (first version in each _SDK_<family> pair). The dep name is derived from the family key: STMicroelectronics/cmsis_device_<family>. Exception: u3 uses hyphens (cmsis-device-u3) — overridden in packageRules.",
"customType": "regex",
"managerFilePatterns": [
"/^src/platforms/stm32/cmake/stm32_sdk\\.cmake$/"
],
"matchStrings": [
"set\\(_SDK_(?<family>[a-z0-9]+)\\s+\"v(?<currentValue>[^;\"]+);[^\"]+\"\\)"
],
"depNameTemplate": "STMicroelectronics/cmsis_device_{{{family}}}",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"description": "STM32 family HAL drivers (second version in each _SDK_<family> pair). The dep name is derived from the family key: STMicroelectronics/stm32<family>xx_hal_driver. Exception: u3 uses hyphens (stm32u3xx-hal-driver) — overridden in packageRules.",
"customType": "regex",
"managerFilePatterns": [
"/^src/platforms/stm32/cmake/stm32_sdk\\.cmake$/"
],
"matchStrings": [
"set\\(_SDK_(?<family>[a-z0-9]+)\\s+\"[^;]+;v(?<currentValue>[^\"]+)\"\\)"
],
"depNameTemplate": "STMicroelectronics/stm32{{{family}}}xx_hal_driver",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
},
{
"description": "picolibc built from a release tarball by ExternalProject_Add",
"customType": "regex",
"managerFilePatterns": [
"/^src/platforms/stm32/cmake/picolibc\\.cmake$/"
],
"matchStrings": ["set\\(PICOLIBC_VERSION \"(?<currentValue>[^\"]+)\"\\)"],
"depNameTemplate": "picolibc/picolibc",
"datasourceTemplate": "github-releases",
"versioningTemplate": "semver"
},
{
"description": "esp-idf Docker image versions in esp32-build.yaml (semver-pinned entries only; release-v5.4 is intentionally left as a floating branch reference)",
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/esp32-build\\.yaml$/"
],
"matchStrings": ["idf-version: 'v(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)'"],
"depNameTemplate": "espressif/idf",
"datasourceTemplate": "docker",
"versioningTemplate": "semver"
},
{
"description": "esp-idf Docker image version in esp32-mkimage.yaml (uses bare semver without v prefix)",
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/esp32-mkimage\\.yaml$/"
],
"matchStrings": ["idf-version: \\[\"(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\"\\]"],
"depNameTemplate": "espressif/idf",
"datasourceTemplate": "docker",
"versioningTemplate": "semver"
},
{
"description": "esp-idf Docker image versions in esp32-simtest.yaml (only the explicit idf-version entries in include/exclude blocks; the inline fromJSON array on the conditional line must be updated manually)",
"customType": "regex",
"managerFilePatterns": [
"/^\\.github/workflows/esp32-simtest\\.yaml$/"
],
"matchStrings": ["idf-version: \"v(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\""],
"depNameTemplate": "espressif/idf",
"datasourceTemplate": "docker",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"description": "Group all esp-idf updates into one PR so versions stay in sync across workflows",
"matchPackageNames": ["espressif/idf"],
"groupName": "esp-idf",
"groupSlug": "esp-idf"
},
{
"description": "Group all STM32 CMSIS device + HAL driver updates together",
"groupName": "STM32 SDK (CMSIS device + HAL drivers)",
"groupSlug": "stm32-sdk",
"matchPackageNames": [
"/^STMicroelectronics/(cmsis_device_|cmsis-device-|stm32.*_hal_driver|stm32.*-hal-driver)/"
]
},
{
"description": "u3 CMSIS device uses hyphens in the actual GitHub repo name",
"matchPackageNames": ["STMicroelectronics/cmsis-device-u3"]
},
{
"description": "u3 HAL driver uses hyphens in the actual GitHub repo name",
"matchPackageNames": ["STMicroelectronics/stm32u3xx-hal-driver"]
},
{
"description": "mbedtls is a security dependency — label prominently",
"matchPackageNames": ["mbed-TLS/mbedtls"],
"labels": ["security", "dependencies"]
}
]
}