dotnet / dotnet/roslyn-tools

Auto-close outdated PRs

Open
#1,107 0 comments 2 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.