Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions githubkit/versions/ghec_v2022_11_28/models/group_0412.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class DependabotAlertPropDependency(GitHubModel):
scope: Missing[Union[None, Literal["development", "runtime"]]] = Field(
default=UNSET, description="The execution scope of the vulnerable dependency."
)
relationship: Missing[Union[None, Literal["unknown", "direct", "transitive"]]] = (
Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)
relationship: Missing[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
] = Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)


Expand Down
8 changes: 6 additions & 2 deletions githubkit/versions/ghec_v2022_11_28/types/group_0412.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class DependabotAlertPropDependencyType(TypedDict):
package: NotRequired[DependabotAlertPackageType]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


class DependabotAlertPropDependencyTypeForResponse(TypedDict):
Expand All @@ -39,7 +41,9 @@ class DependabotAlertPropDependencyTypeForResponse(TypedDict):
package: NotRequired[DependabotAlertPackageTypeForResponse]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


__all__ = (
Expand Down
10 changes: 5 additions & 5 deletions githubkit/versions/ghec_v2026_03_10/models/group_0410.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class DependabotAlertPropDependency(GitHubModel):
scope: Missing[Union[None, Literal["development", "runtime"]]] = Field(
default=UNSET, description="The execution scope of the vulnerable dependency."
)
relationship: Missing[Union[None, Literal["unknown", "direct", "transitive"]]] = (
Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)
relationship: Missing[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
] = Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)


Expand Down
8 changes: 6 additions & 2 deletions githubkit/versions/ghec_v2026_03_10/types/group_0410.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class DependabotAlertPropDependencyType(TypedDict):
package: NotRequired[DependabotAlertPackageType]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


class DependabotAlertPropDependencyTypeForResponse(TypedDict):
Expand All @@ -39,7 +41,9 @@ class DependabotAlertPropDependencyTypeForResponse(TypedDict):
package: NotRequired[DependabotAlertPackageTypeForResponse]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


__all__ = (
Expand Down
10 changes: 5 additions & 5 deletions githubkit/versions/v2022_11_28/models/group_0339.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class DependabotAlertPropDependency(GitHubModel):
scope: Missing[Union[None, Literal["development", "runtime"]]] = Field(
default=UNSET, description="The execution scope of the vulnerable dependency."
)
relationship: Missing[Union[None, Literal["unknown", "direct", "transitive"]]] = (
Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)
relationship: Missing[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
] = Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)


Expand Down
8 changes: 6 additions & 2 deletions githubkit/versions/v2022_11_28/types/group_0339.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class DependabotAlertPropDependencyType(TypedDict):
package: NotRequired[DependabotAlertPackageType]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


class DependabotAlertPropDependencyTypeForResponse(TypedDict):
Expand All @@ -39,7 +41,9 @@ class DependabotAlertPropDependencyTypeForResponse(TypedDict):
package: NotRequired[DependabotAlertPackageTypeForResponse]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


__all__ = (
Expand Down
10 changes: 5 additions & 5 deletions githubkit/versions/v2026_03_10/models/group_0337.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ class DependabotAlertPropDependency(GitHubModel):
scope: Missing[Union[None, Literal["development", "runtime"]]] = Field(
default=UNSET, description="The execution scope of the vulnerable dependency."
)
relationship: Missing[Union[None, Literal["unknown", "direct", "transitive"]]] = (
Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)
relationship: Missing[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
] = Field(
default=UNSET,
description='The vulnerable dependency\'s relationship to your project.\n\n> [!NOTE]\n> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.\n',
)


Expand Down
8 changes: 6 additions & 2 deletions githubkit/versions/v2026_03_10/types/group_0337.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ class DependabotAlertPropDependencyType(TypedDict):
package: NotRequired[DependabotAlertPackageType]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


class DependabotAlertPropDependencyTypeForResponse(TypedDict):
Expand All @@ -39,7 +41,9 @@ class DependabotAlertPropDependencyTypeForResponse(TypedDict):
package: NotRequired[DependabotAlertPackageTypeForResponse]
manifest_path: NotRequired[str]
scope: NotRequired[Union[None, Literal["development", "runtime"]]]
relationship: NotRequired[Union[None, Literal["unknown", "direct", "transitive"]]]
relationship: NotRequired[
Union[None, Literal["unknown", "direct", "transitive", "inconclusive"]]
]


__all__ = (
Expand Down
1 change: 1 addition & 0 deletions githubkit/versions/versions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ source = "https://raw.githubusercontent.com/github/rest-api-description/d5aff63f
"/webhooks/repository-dispatch-sample.collected/post" = {operationId = "repository-dispatch"}
"/components/schemas/webhooks_answer/properties/parent_id" = {type = ["integer", "null"]}
"/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = {"<add>" = ["inconclusive"]}
"/components/schemas/dependabot-alert/properties/dependency/properties/relationship/enum" = {"<add>" = ["inconclusive"]}
"/components/schemas/code-scanning-alert-classification/enum" = {"<add>" = ["documentation"]}

[[overrides]]
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,11 @@ source = "descriptions-next/ghec/ghec.2026-03-10.json"
"/components/schemas/dependabot-alert-with-repository/properties/dependency/properties/relationship/enum" = { "<add>" = [
"inconclusive",
] }
# https://github.com/yanyongyu/githubkit/issues/284
# https://github.com/github/rest-api-description/issues/6108
"/components/schemas/dependabot-alert/properties/dependency/properties/relationship/enum" = { "<add>" = [
"inconclusive",
] }
# https://github.com/github/rest-api-description/issues/4728
"/components/schemas/code-scanning-alert-classification/enum" = { "<add>" = [
"documentation",
Expand Down
Loading