Skip to content

Commit

Permalink
don't remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonapich committed Feb 15, 2024
1 parent 368b689 commit 9e5788a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions github/Repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -3379,6 +3379,14 @@ def get_workflow_runs(
) -> PaginatedList[WorkflowRun]:
"""
:calls: `GET /repos/{owner}/{repo}/actions/runs <https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository>`_
: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
Expand Down

0 comments on commit 9e5788a

Please sign in to comment.