Skip to content

Commit b108f3a

Browse files
authored
renovate: Add post-update command to tidy modules (#128)
1 parent 70e7a8f commit b108f3a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

renovate.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
],
55
"additionalReviewers": [
66
"andrewwormald"
7-
]
7+
],
8+
"postUpgradeTasks": {
9+
"commands": [
10+
"find . -name \"go.mod\" -type f -exec dirname {} \\; | while read dir; do echo \"Running go mod tidy in $dir\"; cd \"$dir\" && go mod tidy && cd - > /dev/null; done"
11+
],
12+
"fileFilters": ["**/go.mod", "**/go.sum"]
13+
}
814
}

0 commit comments

Comments
 (0)