seachicken / gh-poi

✨ Safely clean up your local branches
https://dev.to/seachicken/safely-clean-up-your-local-branches-9i3
MIT License
673 stars 19 forks source link

Duplicate PRs related to the branch #15

Closed seachicken closed 2 years ago

seachicken commented 2 years ago

Describe the bug Sometimes it will look like this.

e.g.

Deleted branches
  issue1
    ├─ #1  https://github.com/owner/repo/pull/1 seito-tanaka
    └─ #1  https://github.com/owner/repo/pull/1 seito-tanaka

Your Environment

seachicken commented 2 years ago

Occurs when there are two loops, one with a merge commit to the default branch, and the other with a merged PR. https://github.com/seachicken/gh-poi/blob/9e041c95da0ffe6f4c2de9c023e0b00867ef0f39/poi.go#L91