mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-17 08:21:22 +00:00
Expose repository for artifacts, workflows and workflow runs
This commit is contained in:
@@ -60,6 +60,15 @@ public class GHWorkflow extends GHObject {
|
||||
return GitHubClient.parseURL(htmlUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Repository to which the workflow belongs.
|
||||
*
|
||||
* @return the repository
|
||||
*/
|
||||
public GHRepository getRepository() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
/**
|
||||
* The badge URL, like https://github.com/octo-org/octo-repo/workflows/CI/badge.svg
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user