All-Hands-AI / openhands-resolver

A system that tries to resolve all issues on a github repo with OpenHands.
MIT License
85 stars 20 forks source link

Fix issue #117: Better error handling after `Create draft PR or push branch` workflow #118

Closed openhands-agent closed 1 month ago

openhands-agent commented 1 month ago

This pull request fixes #117.

The issue has been successfully resolved. The workflow has been updated to check for non-empty values in prNumber or branchName before posting a comment about successful branch creation or PR opening. Additionally, an error message is now included if the workflow fails. This prevents the incorrect posting of success messages when the workflow fails due to permission issues or other problems. As this is a GitHub workflow change, no Python tests were needed. The changes directly address the described issue and should improve the accuracy of the workflow's feedback.

Automatic fix generated by OpenHands 🙌