Auto-close outdated PRs
- Dominant language
- C#
- Stars
- 109
- Forks
- 85
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 1
Description
When we merge an insertion to a VS branch it would be nice if all older insertions to that branch were automatically closed.
Relevant API is probably [Pull Requests - Update](https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/update?view=azure-devops-rest-6.1). We might be able to set the `status` to `"abandoned"`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing flow that merges an insertion to a VS branch. Read the linked Azure DevOps Pull Requests - Update API, especially the pull request status field. Done means older insertions to that branch are automatically closed or abandoned after a newer insertion is merged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100