Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAT-1242 | Do not delete branches that may have a second open PR #1

Merged
merged 3 commits into from
Oct 5, 2020

Conversation

TimDuffy
Copy link

@TimDuffy TimDuffy commented Oct 5, 2020

This addresses an edge case where multiple PRs can be associated with the same branch. If only one of these PRs is closed, the branch is mislabeled as stale, and incorrectly deleted. This PR adds an additional step which gathers a list of open PRs and removes the associated branches from the list of stale branches to delete.

@TimDuffy TimDuffy requested a review from a team October 5, 2020 15:23
@TimDuffy TimDuffy merged commit 354a7f0 into master Oct 5, 2020
@TimDuffy TimDuffy deleted the PLAT-1242/keep_branches_open_prs branch October 5, 2020 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants