Renovate is not grouping PRs #31681
-
What would you like help with?Other How are you running Renovate?Mend Renovate hosted app on github.com If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.No response Please tell us more about your question or problemI have several groups set up in my renovate config. Despite my config seemingly being correct, some dependencies aren't being grouped. I'm not sure if this is due to the order in which the PRs were created, but I have consistently had issues with some packages like astro-icon which Renovate never grouped in it's configured group despite directly naming the package in the group. I also just pushed an updated renovate config adding a couple deps to a group, these deps had separate open PRs alongside an open PR for the group I want them added in to. Is it normal that they are not recreated and grouped automatically? How can I force Renovate to recreate all PRs and group them according to my config? Checking the option to retry all PRs does not group them, they remain separate. This is my renovate config: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":dependencyDashboard",
":ignoreModulesAndTests",
":rebaseStalePrs",
":semanticCommitType(chore)",
":separateMajorReleases",
"group:definitelyTyped",
"group:monorepos",
"group:recommended",
"replacements:all",
"workarounds:all"
],
"prHourlyLimit": 10,
"rangeStrategy": "bump",
"labels": ["dependencies"],
"commitMessageTopic": "{{depName}}",
"commitBodyTable": true,
"timezone": "America/New_York",
"schedule": ["every 2 weeks on friday at 8pm"],
"transitiveRemediation": true,
"packageRules": [
{
"groupName": "dev-dependencies",
"matchDepTypes": ["devDependencies"],
"semanticCommitScope": "dev-deps"
},
{
"groupName": "Components, icons, fonts, and styling libraries",
"matchPackagePrefixes": ["@radix-ui/", "@fontsource/"],
"matchPackageNames": ["cmdk", "lucide-react", "framer-motion"]
},
{
"groupName": "TailwindCSS and related tools",
"matchPackagePrefixes": ["tailwind", "tailwindcss", "@tailwindcss"],
"matchPackageNames": ["clsx", "class-variance-authority", "tailwind-merge"]
},
{
"groupName": "AI dependencies",
"matchPackagePrefixes": ["@ai-sdk/"],
"matchPackageNames": ["ai", "openai"]
},
{
"groupName": "Astro, Integrations, and Adapters",
"matchSourceUrls": ["https://github.com/withastro/astro", "https://github.com/withastro/adapters/"],
"matchPackagePrefixes": ["@astrojs/", "astro"],
"matchPackageNames": ["astro-icon", "sharp", "@astrojs/vercel"]
},
{
"groupName": "React dependencies",
"matchSourceUrls": ["https://github.com/facebook/react"],
"matchPackagePrefixes": ["react"]
}
]
} And my open PRs: chore(deps): update astro, integrations, and adapters (@astrojs/react, @astrojs/tailwind, astro) Logs (if relevant)I added some logs that may be relevant: Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Do not use |
Beta Was this translation helpful? Give feedback.
-
@AVGVSTVS96 |
Beta Was this translation helpful? Give feedback.
Do not use
matchPackageNames
andmatchPackagePrefixes
together. Use only one.