Skip to content

Commit

Permalink
Merge pull request #23564 from cevich/renovate_manage_requirements
Browse files Browse the repository at this point in the history
[skip-ci] Maintain renovate configuration
  • Loading branch information
openshift-merge-bot[bot] authored Aug 12, 2024
2 parents 708d6c5 + e111b6c commit 4f2d98f
Showing 1 changed file with 27 additions and 45 deletions.
72 changes: 27 additions & 45 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,32 +1,13 @@
/*
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
Validate this file before commiting with (from repository root):
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
podman run -it \
-v ./.github/renovate.json5:/usr/src/app/renovate.json5:z \
docker.io/renovate/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.
and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
*/

{
Expand All @@ -53,25 +34,26 @@

"addLabels": ["release-note-none"],

"golang": {
// N/B: LAST matching rule wins
"packageRules": [
// Updates for `github.com/containers/*` should be checked hourly.
{
"matchPackagePrefixes": ["github.com/containers"],
"schedule": "before 11am", // UTC
},

// Updates for c/common, c/image, and c/storage should be grouped into a single PR
{
"matchPackagePatterns": [
"^github.com/containers/common",
"^github.com/containers/image",
"^github.com/containers/storage",
],
"groupName": "common, image, and storage deps",
"schedule": "before 11am", // UTC
}
],
// N/B: LAST matching rule wins
"packageRules": [
// Updates for `github.com/containers/*` should be checked more frequently than other deps.
{
"matchCategories": ["golang"],
"schedule": "before 11am",
"matchPackageNames": ["github.com/containers{/,}**"]
},

// Updates for c/common, c/image, and c/storage should be grouped into a single PR.
{
"matchCategories": ["golang"],
"groupName": "common, image, and storage deps",
"schedule": "before 11am",
"matchPackageNames": [
"/^github.com/containers/common/",
"/^github.com/containers/image/",
"/^github.com/containers/storage/"
]
}
],
}
}

0 comments on commit 4f2d98f

Please sign in to comment.