Is it possible to "extend" inside of technology keys? #8409
Answered
by
rarkins
buehler
asked this question in
Request Help
-
I'm trying to make a renovate default config for my repositories. I'd like to use some extend functions within technologies with some base configs. If I have the following {
"packageRules": [
{
"paths": [
"tests/**/*",
"config/CodeAnalysis.targets"
],
"groupName": "testing dependencies",
"groupSlug": "test",
"semanticCommitType": "chore",
"semanticCommitScope": "test deps"
},
{
"paths": [
"build/**/*"
],
"groupName": "build dependencies",
"groupSlug": "build",
"semanticCommitType": "chore",
"semanticCommitScope": "build deps"
},
{
"paths": [
"src/**/*"
],
"groupName": "dependencies",
"semanticCommitType": "fix",
"semanticCommitScope": "deps"
}
]
} is it possible to extend it inside the {
"$schema": "http://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"labels": [
"dependencies"
],
"vulnerabilityAlerts": {
"labels": [
"dependencies-security"
]
},
"automerge": true,
"schedule": ["after 9pm", "before 6am"],
"dotnet": {
"extends": ["github>foobar:dotnet"] <<<<<<<<
}
} ? |
Beta Was this translation helpful? Give feedback.
Answered by
rarkins
Jan 25, 2021
Replies: 1 comment 2 replies
-
Yes, I think that should be possible. When you extend a config, it essentially just copies the contents of the preset into the config object that it's referenced in. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
buehler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I think that should be possible. When you extend a config, it essentially just copies the contents of the preset into the config object that it's referenced in.