From 956445eee424e12cf1ab80c160137ea6fd620dcb Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 26 Apr 2019 22:53:00 +0200 Subject: [PATCH] docs: improve go mod tidy description --- website/docs/configuration-options.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md index 33d374c63a..086481368f 100644 --- a/website/docs/configuration-options.md +++ b/website/docs/configuration-options.md @@ -264,6 +264,8 @@ Configuration added here applies for all Go-related updates, however currently t Configuration for Go Modules (`go mod`). Supersedes anything in the `go` config object. +You might interested to add `"postUpdateOptions": ["gomodTidy"]` to your config if you'd like Renovate to run `go mod tidy` after any update. + ## gradle Configuration for Java gradle projects @@ -743,10 +745,10 @@ Warning: `pipenv` support is currently in beta, so it is not enabled by default. ## postUpdateOptions -`gomodTidy`: Run `go mod tidy` after Go module updates -`npmDedupe`: Run `npm dedupe` after `package-lock.json` updates -`yarnDedupeFewer`: Run `yarn-deduplicate --strategy fewer` after `yarn.lock` updates -`yarnDedupeHighest`: Run `yarn-deduplicate --strategy highest` after `yarn.lock` updates +- `gomodTidy`: Run `go mod tidy` after Go module updates +- `npmDedupe`: Run `npm dedupe` after `package-lock.json` updates +- `yarnDedupeFewer`: Run `yarn-deduplicate --strategy fewer` after `yarn.lock` updates +- `yarnDedupeHighest`: Run `yarn-deduplicate --strategy highest` after `yarn.lock` updates ## prBodyColumns -- GitLab