-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove "state": "OPEN" to fix updating of titles #931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks for the PR
In the past, we found it annoying that if someone accidentally close a PR, it doesn't get reopened by Updatecli. This led us to miss some update as the branch would kept being updated but we wouldn't notice it. So I would prefer doing the mutation twice |
Testing out the current code, it seems to create a new pull request rather than updating the existing branch, it's not finding it. Trying to see why but seems my current worry wasn't an issue? (e.g. timja/updatecli-test#7) |
This isn't finding closed PRs:
So it opens a new PR (with the same branch), and all works how you would expect |
because of this (hardcoded search for state open):
Ok all seems fine and understood, cc @olblak |
Is this PR ready to be merged? |
I had a look to the previous PR I did on this topic to refresh my head and your PR seems great. |
Yes I've tested many different methods and it's ready. GitHub support is raising the issue to the engineering team. |
Fixes #866
Test
To test this pull request, you can run the following commands:
Additional Information
Tradeoff
None that I can think of this seems like it was unnecessary, other code handles creating a new pull request if no open ones exist
#866 (comment)
Potential improvement
I've raised a ticket with GitHub to get clarification