From 9424d795607e3e9917930bd316c27f0e368c5fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 10 Apr 2024 21:30:25 +0200 Subject: [PATCH] Delete old renovate configs --- internal/renovate/renovate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/renovate/renovate.go b/internal/renovate/renovate.go index 724e41c..c614aaa 100644 --- a/internal/renovate/renovate.go +++ b/internal/renovate/renovate.go @@ -151,6 +151,7 @@ func RenderConfig(cfgRenovate core.RenovateConfig, scanResult core.ScanResult, u } must.Succeed(os.MkdirAll(".github", 0750)) + must.Succeed(os.RemoveAll("renovate.json")) f := must.Return(os.Create(".github/renovate.json")) encoder := json.NewEncoder(f)