Open
Description
Describe the bug
isPullRequest
in GHIssue returns false due to pull_request == null
condition. The PR object was acquired via payload.getPullRequest()
method of GHEventPayload.PullRequest
class.
To Reproduce
Steps to reproduce the behavior:
- Get an instance of
GHEventPayload.PullRequest
event - Get the pr entity via
payload.getPullRequest()
- Observe that despite object being an instance of
GHPullRequest
the return value ofisPullRequest
method is false.
Expected behavior
expected true