GitHubCheckRunModel

pydantic model safir.github.models.GitHubCheckRunModel

A Pydantic model for the “check_run” field in a check_run webhook payload (GitHubCheckRunEventModel).

Parameters:

data (Any)

Fields:
field check_suite: GitHubCheckSuiteId [Required]

Brief information about the check suite.

field conclusion: GitHubCheckRunConclusion | None = None

Conclusion status, if completed.

field external_id: str | None [Required]

Identifier set by the check runner.

field head_sha: str [Required]

The SHA of the most recent commit for this check suite.

field html_url: HttpUrl [Required]

URL of the check run webpage.

field id: int [Required]

Identifier for this check run.

field name: str [Required]

Name of the check run.

field output: GitHubCheckRunOutput | None = None

Check run output, if available.

field pull_requests: list[GitHubCheckRunPrInfoModel] [Optional]

List of pull requests associated with this check run.

field status: GitHubCheckRunStatus [Required]

Status of the check run.

field url: HttpUrl [Required]

URL of the check run API resource.