Skip to content

Commit 09919e7

Browse files
committed
fix(renovate): only run make tidy after Go module updates
Otherwise we see i.e. ``` Command failed: make tidy make: go: No such file or directory make: *** [Makefile:44: tidy] Error 127 ```
1 parent 89f7d4d commit 09919e7

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

renovate.json

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,23 @@
3838
],
3939
"matchCurrentVersion": "v0.0.0-00010101000000-000000000000",
4040
"enabled": false
41+
},
42+
{
43+
"description": "",
44+
"matchFileNames": [
45+
"**/*/go.mod",
46+
"**/*.go.sum"
47+
],
48+
"postUpgradeTasks": {
49+
"commands": [
50+
"make tidy"
51+
],
52+
"fileFilters": [
53+
"**/*/go.mod",
54+
"**/*/go.sum"
55+
],
56+
"executionMode": "branch"
57+
}
4158
}
42-
],
43-
"postUpgradeTasks": {
44-
"commands": [
45-
"make tidy"
46-
],
47-
"fileFilters": [
48-
"**/*/go.mod",
49-
"**/*/go.sum"
50-
],
51-
"executionMode": "branch"
52-
}
59+
]
5360
}

0 commit comments

Comments
 (0)