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
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 of isPullRequest method is false.
Expected behavior
expected true
The text was updated successfully, but these errors were encountered:
Describe the bug
isPullRequest
in GHIssue returns false due topull_request == null
condition. The PR object was acquired viapayload.getPullRequest()
method ofGHEventPayload.PullRequest
class.To Reproduce
Steps to reproduce the behavior:
GHEventPayload.PullRequest
eventpayload.getPullRequest()
GHPullRequest
the return value ofisPullRequest
method is false.Expected behavior
expected true
The text was updated successfully, but these errors were encountered: