We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6a0da commit b1df028Copy full SHA for b1df028
src/main/java/com/spotify/github/v3/checks/CheckSuite.java
@@ -39,4 +39,6 @@ public interface CheckSuite {
39
Integer id();
40
41
Optional<App> app();
42
+
43
+ Optional<String> headBranch();
44
}
src/test/java/com/spotify/github/v3/activity/events/CheckRunEventTest.java
@@ -44,6 +44,7 @@ public void testDeserialization() throws IOException {
assertThat(checkRunEvent.action(), is("created"));
45
assertThat(checkRunEvent.checkRun().name(), is("Octocoders-linter"));
46
assertThat(checkRunEvent.repository().name(), is("Hello-World"));
47
+ assertThat(checkRunEvent.checkRun().checkSuite().get().headBranch().get(), is("changes"));
48
49
50
0 commit comments