mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-23 00:11:24 +00:00
Fix GHRepository#listWorkflows() and add a test
This commit is contained in:
@@ -2904,9 +2904,7 @@ public class GHRepository extends GHObject {
|
||||
* @return the paged iterable
|
||||
*/
|
||||
public PagedIterable<GHWorkflow> listWorkflows() {
|
||||
return root.createRequest()
|
||||
.withUrlPath(getApiTailUrl("actions/workflows"))
|
||||
.toIterable(GHWorkflow[].class, item -> item.wrapUp(root));
|
||||
return new GHWorkflowsIterable(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user