Struct github_webhook::payload_types::WorkflowRun
source · pub struct WorkflowRun<'a> {Show 35 fields
pub artifacts_url: &'a str,
pub cancel_url: &'a str,
pub check_suite_url: &'a str,
pub check_suite_id: usize,
pub check_suite_node_id: &'a str,
pub conclusion: Option<WorkflowRunConclusion>,
pub created_at: &'a str,
pub event: &'a str,
pub head_branch: &'a str,
pub head_commit: SimpleCommit<'a>,
pub head_repository: RepositoryLite<'a>,
pub head_sha: &'a str,
pub path: &'a str,
pub display_title: &'a str,
pub html_url: &'a str,
pub id: usize,
pub jobs_url: &'a str,
pub logs_url: &'a str,
pub node_id: &'a str,
pub name: &'a str,
pub pull_requests: Vec<WorkflowRunPullRequests<'a>>,
pub repository: RepositoryLite<'a>,
pub rerun_url: &'a str,
pub run_number: usize,
pub status: WorkflowRunStatus,
pub updated_at: &'a str,
pub url: &'a str,
pub workflow_id: usize,
pub workflow_url: &'a str,
pub run_attempt: usize,
pub referenced_workflows: Option<Vec<ReferencedWorkflow<'a>>>,
pub run_started_at: &'a str,
pub previous_attempt_url: Option<&'a str>,
pub actor: User<'a>,
pub triggering_actor: User<'a>,
}
Fields§
§artifacts_url: &'a str
The URL to the artifacts for the workflow run.
cancel_url: &'a str
The URL to cancel the workflow run.
check_suite_url: &'a str
The URL to the associated check suite.
check_suite_id: usize
The ID of the associated check suite.
check_suite_node_id: &'a str
The node ID of the associated check suite.
conclusion: Option<WorkflowRunConclusion>
§created_at: &'a str
§event: &'a str
§head_branch: &'a str
§head_commit: SimpleCommit<'a>
§head_repository: RepositoryLite<'a>
§head_sha: &'a str
The SHA of the head commit that points to the version of the workflow being run.
path: &'a str
The full path of the workflow
display_title: &'a str
§html_url: &'a str
§id: usize
The ID of the workflow run.
jobs_url: &'a str
The URL to the jobs for the workflow run.
logs_url: &'a str
The URL to download the logs for the workflow run.
node_id: &'a str
§name: &'a str
The name of the workflow run.
pull_requests: Vec<WorkflowRunPullRequests<'a>>
§repository: RepositoryLite<'a>
§rerun_url: &'a str
The URL to rerun the workflow run.
run_number: usize
The auto incrementing run number for the workflow run.
status: WorkflowRunStatus
§updated_at: &'a str
§url: &'a str
The URL to the workflow run.
workflow_id: usize
The ID of the parent workflow.
workflow_url: &'a str
The URL to the workflow.
run_attempt: usize
Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.
referenced_workflows: Option<Vec<ReferencedWorkflow<'a>>>
§run_started_at: &'a str
The start time of the latest run. Resets on re-run.
previous_attempt_url: Option<&'a str>
The URL to the previous attempted run of this workflow, if one exists.
actor: User<'a>
§triggering_actor: User<'a>