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

SONARGO-60 Configure Renovate #48

Merged
merged 2 commits into from
Dec 17, 2024
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
80 changes: 80 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>SonarSource/renovate-config:languages-team"
],
"schedule": [
"before 4am on Monday"
],
"enabledManagers": [
"gradle",
"gradle-wrapper",
"github-actions",
"gomod",
"git-submodules"
],
"git-submodules": {
"enabled": true
},
"packageRules": [
{
"managers": [
"github-actions"
],
"pinDigests": false,
"groupName": "all github actions",
"groupSlug": "all-github-actions"
},
{
"managers": [
"github-actions"
],
"matchUpdateTypes": ["pin", "rollback"],
"enabled": false
},
{
"managers": [
"gradle"
],
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
},
{
"managers": [
"gomod"
],
"matchPackagePatterns": [
"*"
],
"excludePackageNames": [
"go"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "all non-major Go dependencies",
"groupSlug": "all-go-minor-patch"
},
{
"managers": [
"git-submodules"
],
"matchDepNames": [
"its/sources/traefik",
"its/sources/minio",
"its/sources/prometheus",
"its/sources/kubernetes-client-go"
],
"enabled": false
}
Comment on lines +66 to +77
Copy link
Contributor

@petertrr petertrr Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to be able to update Gradle modules automatically, however, it is not possible to enable git-submodules only for a single dependency, and exclusion doesn't support patterns.

Example on what Renovate shows when there are new commits:

Update build-logic digest to 46a3607
Schedule: ["before 4am on Monday"]
Branch name: renovate/build-logic-digest
Merge into: master
Upgrade build-logic to 46a36072551574ab7aa1381081c031f58b3235da

],
"reviewers": ["team:analysis-cloud-squad"]
}
Loading