From e8e93b7bd01d742617ba77ca4ef4c56f2549d8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 13 Aug 2024 13:57:10 +0200 Subject: [PATCH] renovate: add schema --- .github/renovate.json | 1 + internal/renovate/renovate.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index 50d8224..7b367ee 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,4 +1,5 @@ { + "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended", "default:pinDigestsDisabled", diff --git a/internal/renovate/renovate.go b/internal/renovate/renovate.go index bb7e0ec..308b6c4 100644 --- a/internal/renovate/renovate.go +++ b/internal/renovate/renovate.go @@ -30,6 +30,7 @@ type constraints struct { } type config struct { + Schema string `json:"$schema"` Extends []string `json:"extends"` Assignees []string `json:"assignees,omitempty"` CommitMessageAction string `json:"commitMessageAction"` @@ -71,6 +72,7 @@ func RenderConfig(cfgRenovate core.RenovateConfig, scanResult golang.ScanResult, } cfg := config{ + Schema: "https://docs.renovatebot.com/renovate-schema.json", Extends: []string{ "config:recommended", "default:pinDigestsDisabled",