tinglesoftware / dependabot-azure-devops

Tools for updating dependencies in Azure DevOps repositories using https://dependabot.com
MIT License
201 stars 66 forks source link

Fix duplicate reviewer identities causing "500 Internal Server Error" when creating pull requests #1457

Closed rhyskoedijk closed 1 week ago

rhyskoedijk commented 2 weeks ago

Fixes #1438.

If the same assignee/reviewer identity is defined multiple times in the dependabot.yml config, DevOps will reject the pull request with "500 Internal Server Error". e.g.

version: 2
updates:
 - package-ecosystem: "nuget"
   assignees:
   - "Team 3"
   reviewers:
   - "Team 3"

This can be fixed by ensuring identities are unique, skipping duplicates.