Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77baafa

Browse filesBrowse files
committed
Add method for updating check run by ID
1 parent 224d8c7 commit 77baafa
Copy full SHA for 77baafa

File tree

Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed
Open diff view settings
Collapse file

‎src/main/java/org/kohsuke/github/GHRepository.java‎

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,6 +1958,19 @@ public GHCommitStatus createCommitStatus(String sha1, GHCommitState state, Strin
19581958
return new GHCheckRunBuilder(this, name, headSHA);
19591959
}
19601960

1961+
/**
1962+
* Updates an existing check run.
1963+
*
1964+
* @param checkId
1965+
* the existing checkId
1966+
* @return a builder which you should customize, then call {@link GHCheckRunBuilder#create}
1967+
*/
1968+
@Preview
1969+
@Deprecated
1970+
public @NonNull GHCheckRunBuilder updateCheckRun(long checkId) {
1971+
return new GHCheckRunBuilder(this, checkId);
1972+
}
1973+
19611974
/**
19621975
* Lists repository events.
19631976
*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.