-
Notifications
You must be signed in to change notification settings - Fork 741
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
GHCheckRun.getPullRequests public #909
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.
- also expose
GHCheckSuite.getPullRequests()
. - add tests
- some additional fixes needed for
mvn site
.
Thanks!
@bitwiseman is this fine to merge now? |
@JKalash I fixed those issues and added more tests. |
* Note this field is only populated for events. When getting a {@link GHCheckRun} outside of an event, this is | ||
* always empty. |
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.
@JKalash
Keep this in mind. This is took me a while to figure out. I'm not sure if it is expected behavior from GitHub but it is consistent.
Turns out there were quite a few bugs in this area (it was exposed publicly before. Some tweaking was needed and updates to the tests to show this working as expected.
c26aee2
to
b177d98
Compare
Description
Closes #908 (GHCheckRun's getPullRequests should be public)
Before submitting a PR:
We love getting PRs, but we hate asking people for the same basic changes every time.
When creating a PR: