AI / RenovateBot Interview Questions
What is Renovate's 'postUpdateOptions' and what post-update actions does it support?
postUpdateOptions enables specific actions Renovate runs after updating a dependency — such as regenerating lockfiles or running deduplication.
| Value | What it does |
|---|---|
| npmDedupe | Run npm dedupe after updating package-lock.json |
| yarnDedupeHighest | Run yarn-deduplicate to resolve yarn.lock to highest versions |
| pnpmDedupe | Run pnpm dedupe after updating pnpm-lock.yaml |
| gomodTidy | Run go mod tidy after updating go.mod |
| gomodUpdateImportPaths | Update import paths in .go files when module path changes |
| helmUpdateSubChartArchives | Update subchart archives after Chart.yaml changes |
{ "postUpdateOptions": ["npmDedupe", "gomodTidy"], "packageRules": [ { "matchManagers": ["npm"], "postUpdateOptions": ["npmDedupe"] }, { "matchManagers": ["gomod"], "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"] } ] }
More Related questions...