Expose repository for artifacts, workflows and workflow runs

This commit is contained in:
Guillaume Smet
2021-04-03 20:54:31 +02:00
parent f40daf8488
commit 97652c6803
5 changed files with 32 additions and 0 deletions

View File

@@ -213,6 +213,15 @@ public class GHWorkflowRun extends GHObject {
return Conclusion.from(conclusion);
}
/**
* Repository to which the workflow run belongs.
*
* @return the repository
*/
public GHRepository getRepository() {
return owner;
}
/**
* Gets the pull requests participated in this workflow run.
*