I'm attempting to use the Tingle Software Dependabot extension for Azure Devops, and it can successfully create a PR with the NuGet dependency updates for the repo.
However, I'm trying to use the group configuration to achieve the following results:
One PR for all Minor/Patch updates.
One PR per Major update.
This is the configuration in the .azuredevops/dependabot.yml file:
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/"
groups:
nuget-minor-patch:
patterns:
- "*"
update-types:
- "minor"
- "patch"
The group configuration is done following the official docs (also referenced in Dependabot major updates apart from minor and patch updates) but Dependabot is still only generating a single PR that includes all major updates.
The pipeline configuration is the following:
steps:
- task: dependabot@2
inputs:
azureDevOpsAccessToken: $(DEPENDABOT_PAT)
mergeStrategy: 'squash'
I've attempted to use the solution mentioned in How to configure Dependabot on Azure DevOps to create only one PR for minor/patch updates but to no avail, and it is also related to the first version of Tingle's Dependabot, whilst I'm using the second.