Handle pull request comments only after having handled all unresollved issues. #103

Closed
Jmaa wants to merge 5 commits from issue-102-handle-pull-request-comments-only-after-having-handled-all-unresollved-issues into main
Showing only changes of commit d547cf6ffc - Show all commits

View File

@ -169,7 +169,9 @@ class GiteaClient:
# If a pull request for this head/base already exists, return it instead of crashing # If a pull request for this head/base already exists, return it instead of crashing
if response.status_code == 422: if response.status_code == 422:
logger.warning( logger.warning(
'Pull request already exists for head %s and base %s', head, base, 'Pull request already exists for head %s and base %s',
head,
base,
) )
prs = self.get_pull_requests(owner, repo) prs = self.get_pull_requests(owner, repo)
for pr in prs: for pr in prs: