Skip to content
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
37 changes: 34 additions & 3 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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/**',
Expand All @@ -20,8 +24,8 @@
'.github/workflows/tag.yml',
],
crossplane: {
fileMatch: [
'(^|/)example/.*\\.ya?ml$',
managerFilePatterns: [
'/(^|/)example/.*\\.ya?ml$/',
],
},
packageRules: [
Expand Down Expand Up @@ -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',
Expand All @@ -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.
Expand Down
Loading