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
Sometimes GitHub rejects the api call to merge the PR.
Expected Behaviour
Failed PR should be retried a few (configurable) times with (preferably) an exponential delay.
Failure could still be logged as a warning
Actual Behaviour
Leaves the PR open and logs this message:
time="2024-05-14T15:32:53Z" level=error msg="Failed to merge PR: err=PUT https://api.github.com/repos/[REPO_OWNER]/[REPO_NAME]/pulls/4333/merge: 405 Base branch was modified. Review and try the merge again. []" prNumber=4331 repo=[REPO_OWNER]/[REPO_NAME]
Affected Version
v0.1.9
Steps to Reproduce
Run telefonistka bump-regex --auto-merge ... in a loop on the same repository.
Description
Sometimes GitHub rejects the api call to merge the PR.
Expected Behaviour
Failed PR should be retried a few (configurable) times with (preferably) an exponential delay.
Failure could still be logged as a warning
Actual Behaviour
Leaves the PR open and logs this message:
Affected Version
v0.1.9
Steps to Reproduce
Run
telefonistka bump-regex --auto-merge ...
in a loop on the same repository.Checklist
The text was updated successfully, but these errors were encountered: