You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First of all, I would like to thank you for your project, it's great, it helps us every day.
Unfortunately there is a problem. Your script deletes a branch which is going to be merged and it has an open pull request not to the default branch.
It seams like github api method f'{self.github_base_url}/repos/{self.github_repo}/commits/{commit_hash}/pulls' shows only pull requests to the main branch. Maybe you should just take all open pull requests and check for branches there. It seams to solve this issue.
The text was updated successfully, but these errors were encountered:
Hi! First of all, I would like to thank you for your project, it's great, it helps us every day.
Unfortunately there is a problem. Your script deletes a branch which is going to be merged and it has an open pull request not to the default branch.
It seams like github api method f'{self.github_base_url}/repos/{self.github_repo}/commits/{commit_hash}/pulls' shows only pull requests to the main branch. Maybe you should just take all open pull requests and check for branches there. It seams to solve this issue.
The text was updated successfully, but these errors were encountered: