Added some Javadoc.

This commit is contained in:
Jesse Glick
2020-03-26 16:22:04 -04:00
parent 26b8082155
commit b5dc3c4366
2 changed files with 30 additions and 0 deletions

View File

@@ -1849,6 +1849,15 @@ public class GHRepository extends GHObject {
return createCommitStatus(sha1, state, targetUrl, description, null);
}
/**
* Creates a check run for a commit.
*
* @param name
* an identifier for the run
* @param headSHA
* the commit hash
* @return a builder which you should customize, then call {@link GHCheckRunBuilder#create}
*/
@Preview
@Deprecated
public @NonNull GHCheckRunBuilder createCheckRun(@NonNull String name, @NonNull String headSHA) {