From e37daef851dbc0540cf5dee8a16fec5e9dd81580 Mon Sep 17 00:00:00 2001 From: upbound-bot Date: Tue, 1 Dec 2026 19:59:50 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/renova?= =?UTF-8?q?te.json5'=20with=20remote=20'gitops/shared-files/functions/reno?= =?UTF-8?q?vate.json5'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate.json5 | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index de262c6..48d5238 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,6 +3,10 @@ extends: [ 'config:recommended', ], + // The Mend Renovate app's org default is Silent (mode=silent): Renovate scans + // but opens no PRs or Dependency Dashboard until someone approves updates in + // the Mend portal. Repo config overrides it; tested on function-insights-query. + mode: 'full', ignorePaths: [ // Renovate defaults '**/node_modules/**', @@ -20,8 +24,8 @@ '.github/workflows/tag.yml', ], crossplane: { - fileMatch: [ - '(^|/)example/.*\\.ya?ml$', + managerFilePatterns: [ + '/(^|/)example/.*\\.ya?ml$/', ], }, packageRules: [ @@ -49,6 +53,32 @@ ], pinDigests: true, }, + { + // Base image updates merge themselves after e2e, like security fixes: a new + // distroless digest is how the base image gets its fixes (CA certificates, + // tzdata), and OSV can't flag those. Pin and digest updates only (same tag, + // new build); a tag change (e.g. debian12 -> debian13) still gets a review. + // One grouped PR: e2e runs one at a time per repo and GitHub keeps only one + // waiting run, so fewer parallel automatic PRs means fewer cancelled runs. + matchManagers: [ + 'dockerfile', + ], + matchPackageNames: [ + '!golang', + ], + matchUpdateTypes: [ + 'pinDigest', + 'digest', + ], + groupName: 'base images', + labels: [ + 'automated', + 'run-e2e-tests', + ], + autoApprove: true, + automerge: true, + automergeType: 'pr', + }, { matchManagers: [ 'crossplane', @@ -63,7 +93,8 @@ // (OSV data), Renovate opens a PR right away, labels it for e2e, approves it and // merges it once the branch protection's required checks pass (build, lint and // unit-test, plus e2e in repos with an e2e/ harness; solutions-gitops-prod). - // Every other update still waits for a human review. + // Base image pin/digest updates merge themselves the same way (packageRules + // above). Every other update still waits for a human review. // Go itself counts: the build toolchain is the `toolchain` line in go.mod (the // shared CI and e2e workflows build with it), so a Go patch release with an // advisory lands in this PR too.