Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renovate: Configure automerge only from trusted packages #1278

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading