WorkflowRun¶
-
class
github.WorkflowRun.
WorkflowRun
¶ This class represents Workflow Runs. The reference can be found here https://docs.github.com/en/rest/reference/actions#workflow-runs
-
id
¶ Type: int
-
name
¶ Type: string
-
head_branch
¶ Type: string
-
head_sha
¶ Type: string
-
display_title
¶ Type: string
-
path
¶ Type: string
-
run_attempt
¶ Type: integer
-
run_number
¶ Type: int
-
event
¶ Type: string
-
run_started_at
¶ Type: datetime.datetime
-
status
¶ Type: string
-
conclusion
¶ Type: string
-
workflow_id
¶ Type: int
-
url
¶ Type: string
-
html_url
¶ Type: string
-
pull_requests
¶ Type: list of github.PullRequest.PullRequest
-
created_at
¶ Type: datetime.datetime
-
updated_at
¶ Type: datetime.datetime
-
jobs_url
¶ Type: string
-
logs_url
¶ Type: string
-
check_suite_url
¶ Type: string
-
artifacts_url
¶ Type: string
-
cancel_url
¶ Type: string
-
rerun_url
¶ Type: string
-
workflow_url
¶ Type: string
-
head_commit
¶ Type: github.GitCommit.GitCommit
-
repository
¶ Type: github.Repository.Repository
-
head_repository
¶ Type: github.Repository.Repository
-
cancel
()¶ Calls: POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel Return type: bool
-
rerun
()¶ Calls: POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun Return type: bool
-
timing
()¶ Calls: GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing Return type: namedtuple with billable and run_duration_ms members
-
delete
()¶ Calls: DELETE /repos/{owner}/{repo}/actions/runs/{run_id} Return type: bool
-