This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 216
gh fails to close PR randomly #678
Comments
Thanks for reporting @dantewang Are you on latest version? Here is what I ran and I didn't have any issue: Is there any other info you can provide? |
Actually I was able to repro using a branch name with Got a fix in the works. |
protoEvangelion
pushed a commit
to protoEvangelion/gh
that referenced
this issue
Sep 30, 2019
Resolves bug report node-gh#678: Error: Error closing PR Error: Can't close pull request 1319. HttpError: 'body' cannot be null at main (/usr/lib/node_modules/gh/lib/cmds/pull-request.js:164:23) at processTicksAndRejections (internal/process/task_queues.js:85:5)
+1 for this issue. It's failing pretty consistently for me. ✅ Works on v1.17.5 |
protoEvangelion
pushed a commit
to protoEvangelion/gh
that referenced
this issue
Oct 2, 2019
Resolves bug report node-gh#678: Error: Error closing PR Error: Can't close pull request 1319. HttpError: 'body' cannot be null at main (/usr/lib/node_modules/gh/lib/cmds/pull-request.js:164:23) at processTicksAndRejections (internal/process/task_queues.js:85:5)
protoEvangelion
pushed a commit
that referenced
this issue
Oct 2, 2019
Resolves bug report #678: Error: Error closing PR Error: Can't close pull request 1319. HttpError: 'body' cannot be null at main (/usr/lib/node_modules/gh/lib/cmds/pull-request.js:164:23) at processTicksAndRejections (internal/process/task_queues.js:85:5)
protoEvangelion
pushed a commit
that referenced
this issue
Oct 2, 2019
## [2.0.9](v2.0.8...v2.0.9) (2019-10-02) ### Bug Fixes * **pull-request:** only add body when updating PR when body is truthy ([da8cdbf](da8cdbf)), closes [#678](#678)
🎉 This PR is included in version 2.0.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Sometimes gh fails to close PRs with the following output:
The PR in this log can be found at dantewang/liferay-portal#1319
To Reproduce
Here are my steps:
gh pr 1319 --close
orgh pr -s someone
on apr-xx
branchNot sure how to make it reproducible for others.
Expected behavior
gh closes the PR without any error
Additional context
This started to happen recently, maybe within 1 month (at most 2 months).
The text was updated successfully, but these errors were encountered: