forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ggjulio/renovate/configure
chore: Configure Renovate
- Loading branch information
Showing
11 changed files
with
71 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/bin/bash | ||
set -eux -o pipefail | ||
|
||
GO111MODULE=on go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
# renovate: datasource=gomod packageName=golangci/golangci-lint | ||
GOLANGCI_LINT_VERSION=1.60.0 | ||
|
||
GO111MODULE=on go install "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"baseBranches": [ "dev"], // just to test without poluting my fork | ||
"dependencyDashboard": false, | ||
"dependencyDashboardApproval": false, // set to true to ask an approval before creating a PR. | ||
"dependencyDashboardOSVVulnerabilitySummary": "all", | ||
"osvVulnerabilityAlerts": true, | ||
"reviewersFromCodeOwners": true, | ||
// "timezone": "Europe/Paris", // used by features like scheduling... | ||
"extends": [ | ||
// "schedule:nonOfficeHours", // https://docs.renovatebot.com/presets-schedule/#schedulenonofficehours | ||
"config:best-practices", | ||
"security:openssf-scorecard", | ||
"mergeConfidence:all-badges", | ||
"regexManagers:dockerfileVersions", // https://docs.renovatebot.com/presets-customManagers/#custommanagersdockerfileversions | ||
// TODO change shared presets with a repo like `argoproj/renovate-presets` | ||
"github>ggjulio/renovate-presets//fix/openssf-merge-confidence-columns.json5", | ||
"github>ggjulio/renovate-presets//custom-managers/shell.json5", | ||
"github>ggjulio/renovate-presets//custom-managers/yaml.json5", | ||
], | ||
"packageRules": [ | ||
// Prefer presets over creating rules in that file as it we become hard to read. | ||
{ | ||
"description": "Disable all updates to avoid conflicts with dependabot, then enable what we want", | ||
"matchPackageNames": [ | ||
"*" | ||
], | ||
"enabled": false | ||
}, | ||
{ | ||
"description": "Add label dependencies to all PRs", | ||
"matchPackageNames": ["*"], | ||
"labels": ["dependencies"] | ||
}, | ||
{ | ||
"description": "Enable golang-version", | ||
"matchDatasources": ["golang-version"], | ||
"addLabels": ["go"], | ||
"enabled": true | ||
}, | ||
{ | ||
"description": "Enable node-version", | ||
"matchDatasources": ["node-version"], | ||
"addLabels": ["javascript"], | ||
"enabled": true | ||
}, | ||
{ | ||
"description": "Reduce noise by automerging pkgs that are safe to merge, TBD", | ||
// Just an example, multiple match fields can be used to reduce the scope of this rule (matchFileNames, matchManagers, matchPackageNames...) | ||
"matchUpdateTypes": [ | ||
"patch", | ||
"pin", | ||
"digest" | ||
], | ||
"automerge": false // change to true ? | ||
} | ||
] | ||
} |