Skip to content

Commit a4044f3

Browse files
HadrienPatteqmonnet
authored andcommitted
Enable renovate to manage Documentation requirements
Signed-off-by: Hadrien Patte <hadrien.patte@datadoghq.com>
1 parent d2d600a commit a4044f3

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/renovate.json5

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
".github/actions/ipsec/configs.yaml",
4747
".github/workflows/**",
4848
".github/ISSUE_TEMPLATE/bug_report.yaml",
49+
"Documentation/requirements-min/requirements.txt",
4950
"cilium-cli/**",
5051
"images/**",
5152
"examples/hubble/*",
@@ -109,6 +110,7 @@
109110
"^make -C install/kubernetes$",
110111
"^make -C Documentation update-helm-values$",
111112
"^make -C Documentation update-cmdref$",
113+
"^make -C Documentation update-requirements$",
112114
"^make generate-k8s-api$",
113115
"^make manifests$",
114116
"^make GO='contrib/scripts/builder.sh go' generate-apis$"
@@ -614,6 +616,30 @@
614616
"executionMode": "update"
615617
}
616618
},
619+
{
620+
"matchFileNames": [
621+
"Documentation/requirements-min/requirements.txt"
622+
],
623+
"postUpgradeTasks": {
624+
"commands": [
625+
"make -C Documentation update-requirements"
626+
],
627+
"fileFilters": [
628+
"Documentation/requirements.txt"
629+
],
630+
"executionMode": "update"
631+
}
632+
},
633+
{
634+
// Only allow minor and patch updates for Documentation dependencies, no major updates
635+
"enabled": false,
636+
"matchFileNames": [
637+
"Documentation/requirements-min/requirements.txt"
638+
],
639+
"matchUpdateTypes": [
640+
"major"
641+
]
642+
},
617643
{
618644
// k8s dependencies will be updated manually along with tests
619645
"enabled": false,

0 commit comments

Comments
 (0)