Add method for updating check run by ID

This commit is contained in:
Bill Collins
2020-11-20 09:16:34 +00:00
parent 224d8c7cb4
commit 77baafa643

View File

@@ -1958,6 +1958,19 @@ public class GHRepository extends GHObject {
return new GHCheckRunBuilder(this, name, headSHA);
}
/**
* Updates an existing check run.
*
* @param checkId
* the existing checkId
* @return a builder which you should customize, then call {@link GHCheckRunBuilder#create}
*/
@Preview
@Deprecated
public @NonNull GHCheckRunBuilder updateCheckRun(long checkId) {
return new GHCheckRunBuilder(this, checkId);
}
/**
* Lists repository events.
*