mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Add support for Workflow Runs (#1583)
To build on the previous work supporting querying Workflows for GitHub Actions, add a class and relevant methods to support querying runs of a workflow.
This commit is contained in:
@@ -49,6 +49,7 @@ from github.Tag import Tag
|
||||
from github.Team import Team
|
||||
from github.View import View
|
||||
from github.Workflow import Workflow
|
||||
from github.WorkflowRun import WorkflowRun
|
||||
|
||||
class Repository(CompletableGithubObject):
|
||||
def __repr__(self) -> str: ...
|
||||
@@ -387,6 +388,8 @@ class Repository(CompletableGithubObject):
|
||||
def get_watchers(self) -> PaginatedList[NamedUser]: ...
|
||||
def get_workflow(self, id_or_name: Union[str, int]) -> Workflow: ...
|
||||
def get_workflows(self) -> PaginatedList[Workflow]: ...
|
||||
def get_workflow_run(self, id_: int) -> WorkflowRun: ...
|
||||
def get_workflow_runs(self) -> PaginatedList[WorkflowRun]: ...
|
||||
@property
|
||||
def git_commits_url(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user