Skip to content

Commit

Permalink
renovate: Configure automerge only from trusted packages
Browse files Browse the repository at this point in the history
Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
  • Loading branch information
chancez committed Oct 31, 2023
1 parent 7f96665 commit 514488b
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,29 @@
],
"stopUpdatingLabel": "renovate/stop-updating",
"packageRules": [
// https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates
// Based on https://docs.renovatebot.com/key-concepts/automerge/#automerge-non-major-updates
// and tetragon's automerge config.
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"matchPackageNames": [
"go", // golang version directive upgrade in go.mod
],
// list of trusted packages that can automerge
"matchPackagePrefixes": [
"docker.io/library/", // official Docker images
"github.com/golang/", // Golang official org
"golang.org/x/", // Golang official experimental org
"google.golang.org/", // Google official repo for api/genproto/grpc/protobuf
"github.com/google/", // Google official github org
"k8s.io/", // Kubernetes official repo
"sigs.k8s.io/", // Kubernetes official SIG repo
],
// auto merge non-major updates
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"pinDigest"
],
"automerge": true
},
{
Expand Down

0 comments on commit 514488b

Please sign in to comment.