Workflow

class github.Workflow.Workflow

This class represents Workflows. The reference can be found here https://docs.github.com/en/rest/reference/actions#workflows

create_dispatch(ref: github.Branch.Branch | github.Tag.Tag | github.Commit.Commit | str, inputs: Opt[dict] = NotSet) → bool
Calls:POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
get_runs(actor: Union[github.NamedUser.NamedUser, github.GithubObject._NotSetType] = NotSet, branch: Union[github.Branch.Branch, github.GithubObject._NotSetType] = NotSet, event: Union[str, github.GithubObject._NotSetType] = NotSet, status: Union[str, github.GithubObject._NotSetType] = NotSet, created: Union[str, github.GithubObject._NotSetType] = NotSet, exclude_pull_requests: Union[bool, github.GithubObject._NotSetType] = NotSet, check_suite_id: Union[int, github.GithubObject._NotSetType] = NotSet, head_sha: Union[str, github.GithubObject._NotSetType] = NotSet) → github.PaginatedList.PaginatedList[github.WorkflowRun.WorkflowRun][github.WorkflowRun.WorkflowRun]
Calls:GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs