From 9913017fccd91244f42fc29d235e37cde6940450 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 27 Aug 2025 10:34:36 +0000 Subject: [PATCH] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 95 ++++++++++-------------------------------- 1 file changed, 23 insertions(+), 72 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 09f7a90348..016938a333 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,79 +1,30 @@ -/* - Renovate is a service similar to GitHub Dependabot, but with - (fantastically) more configuration options. So many options - in fact, if you're new I recommend glossing over this cheat-sheet - prior to the official documentation: - - https://www.augmentedmind.de/2021/07/25/renovate-bot-cheat-sheet - - Configuration Update/Change Procedure: - 1. Make changes - 2. Manually validate changes (from repo-root): - - podman run -it \ - -v ./.github/renovate.json5:/usr/src/app/renovate.json5:z \ - ghcr.io/renovatebot/renovate:latest \ - renovate-config-validator - 3. Commit. - - Configuration Reference: - https://docs.renovatebot.com/configuration-options/ - - Monitoring Dashboard: - https://app.renovatebot.com/dashboard#github/containers - - Note: The Renovate bot will create/manage it's business on - branches named 'renovate/*'. Otherwise, and by - default, the only the copy of this file that matters - is the one on the `main` branch. No other branches - will be monitored or touched in any way. -*/ - { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - - /************************************************* - ****** Global/general configuration options ***** - *************************************************/ - - // Re-use predefined sets of configuration options to DRY - "extends": [ - // https://github.com/containers/automation/blob/main/renovate/defaults.json5 - "github>containers/automation//renovate/defaults.json5" + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'github>containers/automation//renovate/defaults.json5', ], - - // Permit automatic rebasing when base-branch changes by more than - // one commit. - "rebaseWhen": "behind-base-branch", - - /************************************************* - *** Repository-specific configuration options *** - *************************************************/ - - // Don't leave dep. update. PRs "hanging", assign them to people. - // "assignees": ["rhatdan", "vrothberg", "Luap99"], - "postUpdateOptions": [ - "gomodVendor", - "gomodTidy" + rebaseWhen: 'behind-base-branch', + postUpdateOptions: [ + 'gomodVendor', + 'gomodTidy', ], - - "customManagers": [ + customManagers: [ { - "customType": "regex", - "fileMatch": "^.github/workflows/validate.yml$", - "matchStrings": [ - "LINT_VERSION:\\s+(?.+)\\s*" + customType: 'regex', + managerFilePatterns: [ + '/^.github/workflows/validate.yml$/', ], - "depNameTemplate": "golangci/golangci-lint", - "datasourceTemplate": "github-releases", - "versioningTemplate": "semver-coerced" - } + matchStrings: [ + 'LINT_VERSION:\\s+(?.+)\\s*', + ], + depNameTemplate: 'golangci/golangci-lint', + datasourceTemplate: 'github-releases', + versioningTemplate: 'semver-coerced', + }, + ], + ignorePaths: [ + '**/vendor/**', + '**/tests/**', + '**/docs/**', ], - - // Don't examine packages matching these paths - "ignorePaths": [ - "**/vendor/**", - "**/tests/**", - "**/docs/**" - ] }