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: Opt[github.NamedUser.NamedUser | str] = NotSet, branch: Opt[github.Branch.Branch | str] = NotSet, event: Opt[str] = NotSet, status: Opt[str] = NotSet, created: Opt[str] = NotSet, exclude_pull_requests: Opt[bool] = NotSet, check_suite_id: Opt[int] = NotSet, head_sha: Opt[str] = NotSet) → PaginatedList[github.WorkflowRun.WorkflowRun]
Calls

GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs