Skip to content

Commit

Permalink
renovate: add schema
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Aug 13, 2024
1 parent 3a80eb7 commit e8e93b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"default:pinDigestsDisabled",
Expand Down
2 changes: 2 additions & 0 deletions internal/renovate/renovate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e8e93b7

Please sign in to comment.