Workflow¶
-
class
github.Workflow.Workflow¶ This class represents Workflows. The reference can be found here https://docs.github.com/en/rest/reference/actions#workflows
-
id¶ Type: int
-
name¶ Type: string
-
path¶ Type: string
-
state¶ Type: string
-
created_at¶ Type: datetime.datetime
-
updated_at¶ Type: datetime.datetime
-
url¶ Type: string
-
html_url¶ Type: string
-
badge_url¶ Type: string
-
create_dispatch(ref, inputs=NotSet)¶ Calls: POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
Parameters: - ref –
github.Branch.Branchorgithub.Tag.Tagorgithub.Commit.Commitor string - inputs – dict
Return type: bool
- ref –
-
get_runs(actor=NotSet, branch=NotSet, event=NotSet, status=NotSet, check_suite_id=NotSet)¶ Calls: GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
Parameters: - actor –
github.NamedUser.NamedUseror string - branch –
github.Branch.Branchor string - event – string
- status – string
Return type: github.PaginatedList.PaginatedListofgithub.WorkflowRun.WorkflowRun- actor –
-