-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add "head_branch" field to CheckSuite object #347
Add "head_branch" field to CheckSuite object #347
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.
LGTM!
@robrbecker Can you please take a look at this? |
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.
LGTM, just one operational request before we can release this
@@ -362,12 +362,14 @@ class CheckRunAction { | |||
@immutable | |||
class CheckSuite { | |||
final int? id; | |||
final String? headBranch; |
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.
Can you update the changelog and pubspec?
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.
Done! I wasn't sure about the version to use so lmk
This field is part of the "check_suite" object as seen here: https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads?actionType=rerequested#check_run
Although the
head_sha
usually provides enough information, it is useful to know which branch was targeted when the checkrun was rerequested.Image