MCPcopy Create free account
hub / github.com/actions/actions-runner-controller / listRunners

Method listRunners

github/github.go:344–352  ·  view source on GitHub ↗
(ctx context.Context, enterprise, org, repo string, opts *github.ListOptions)

Source from the content-addressed store, hash-verified

342}
343
344func (c *Client) listRunners(ctx context.Context, enterprise, org, repo string, opts *github.ListOptions) (*github.Runners, *github.Response, error) {
345 if len(repo) > 0 {
346 return c.Actions.ListRunners(ctx, org, repo, opts)
347 }
348 if len(org) > 0 {
349 return c.Actions.ListOrganizationRunners(ctx, org, opts)
350 }
351 return c.Enterprise.ListRunners(ctx, enterprise, opts)
352}
353
354func (c *Client) ListRepositoryWorkflowRuns(ctx context.Context, user string, repoName string) ([]*github.WorkflowRun, error) {
355 queued, err := c.listRepositoryWorkflowRuns(ctx, user, repoName, "queued")

Callers 1

ListRunnersMethod · 0.95

Implementers 1

Clientcontrollers/actions.github.com/multicl

Calls 1

ListRunnersMethod · 0.80

Tested by

no test coverage detected