diff --git a/github/Repository.py b/github/Repository.py index f17d604edf..4523728ec7 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -3379,6 +3379,14 @@ def get_workflow_runs( ) -> PaginatedList[WorkflowRun]: """ :calls: `GET /repos/{owner}/{repo}/actions/runs `_ + :param actor: :class:`github.NamedUser.NamedUser` or string + :param branch: :class:`github.Branch.Branch` or string + :param event: string + :param status: string `queued`, `in_progress`, `completed`, `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required` + :param exclude_pull_requests: bool + :param head_sha: string + + :rtype: :class:`PaginatedList` of :class:`github.WorkflowRun.WorkflowRun` """ assert is_optional(actor, (github.NamedUser.NamedUser, str)), actor assert is_optional(branch, (github.Branch.Branch, str)), branch