Skip to content

GitHubTarget

Source code in docs_src/capo_continuum/types/git_hub_target.py
class GitHubTarget(TypedDict, closed=True):
    owner: "capo_continuum.types.delivery_git_hub_name.DeliveryGitHubName"
    """The GitHub user or organization that owns the repository."""
    repository: "capo_continuum.types.delivery_git_hub_name.DeliveryGitHubName"
    """The repository name."""
    pull_request_number: NotRequired[
        "capo_continuum.types.delivery_pull_request_number.DeliveryPullRequestNumber"
    ]
    """Repository-scoped pull request number assigned by GitHub."""
    head_sha: NotRequired[
        "capo_continuum.types.delivery_git_commit_sha.DeliveryGitCommitSha"
    ]
    """The head commit SHA of the pull request. Absent until the pull request is opened."""

head_sha instance-attribute

head_sha: NotRequired[DeliveryGitCommitSha]

The head commit SHA of the pull request. Absent until the pull request is opened.

owner instance-attribute

The GitHub user or organization that owns the repository.

pull_request_number instance-attribute

pull_request_number: NotRequired[DeliveryPullRequestNumber]

Repository-scoped pull request number assigned by GitHub.

repository instance-attribute

repository: DeliveryGitHubName

The repository name.