Skip to content

Repo sync #32461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2024
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
35 changes: 35 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -44255,6 +44255,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
last: Int
): PinnedIssueConnection

"""
Returns information about the availability of certain features and limits based on the repository's billing plan.
"""
planFeatures: RepositoryPlanFeatures!

"""
The primary language of the repository's code.
"""
Expand Down Expand Up @@ -46046,6 +46051,36 @@ enum RepositoryPermission {
WRITE
}

"""
Information about the availability of features and limits for a repository based on its billing plan.
"""
type RepositoryPlanFeatures {
"""
Whether reviews can be automatically requested and enforced with a CODEOWNERS file
"""
codeowners: Boolean!

"""
Whether pull requests can be created as or converted to draft
"""
draftPullRequests: Boolean!

"""
Maximum number of users that can be assigned to an issue or pull request
"""
maximumAssignees: Int!

"""
Maximum number of manually-requested reviews on a pull request
"""
maximumManualReviewRequests: Int!

"""
Whether teams can be requested to review pull requests
"""
teamReviewRequests: Boolean!
}

"""
The privacy of a repository
"""
Expand Down
35 changes: 35 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -44255,6 +44255,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
last: Int
): PinnedIssueConnection

"""
Returns information about the availability of certain features and limits based on the repository's billing plan.
"""
planFeatures: RepositoryPlanFeatures!

"""
The primary language of the repository's code.
"""
Expand Down Expand Up @@ -46046,6 +46051,36 @@ enum RepositoryPermission {
WRITE
}

"""
Information about the availability of features and limits for a repository based on its billing plan.
"""
type RepositoryPlanFeatures {
"""
Whether reviews can be automatically requested and enforced with a CODEOWNERS file
"""
codeowners: Boolean!

"""
Whether pull requests can be created as or converted to draft
"""
draftPullRequests: Boolean!

"""
Maximum number of users that can be assigned to an issue or pull request
"""
maximumAssignees: Int!

"""
Maximum number of manually-requested reviews on a pull request
"""
maximumManualReviewRequests: Int!

"""
Whether teams can be requested to review pull requests
"""
teamReviewRequests: Boolean!
}

"""
The privacy of a repository
"""
Expand Down
14 changes: 14 additions & 0 deletions src/graphql/data/fpt/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>RepositoryPlanFeatures</code> was added</p>",
"<p>Field <code>planFeatures</code> was added to object type <code>Repository</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2024-04-09"
},
{
"schemaChanges": [
{
Expand Down
57 changes: 57 additions & 0 deletions src/graphql/data/fpt/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61561,6 +61561,14 @@
}
]
},
{
"name": "planFeatures",
"description": "<p>Returns information about the availability of certain features and limits based on the repository's billing plan.</p>",
"type": "RepositoryPlanFeatures!",
"id": "repositoryplanfeatures",
"kind": "objects",
"href": "/graphql/reference/objects#repositoryplanfeatures"
},
{
"name": "primaryLanguage",
"description": "<p>The primary language of the repository's code.</p>",
Expand Down Expand Up @@ -63443,6 +63451,55 @@
}
]
},
{
"name": "RepositoryPlanFeatures",
"kind": "objects",
"id": "repositoryplanfeatures",
"href": "/graphql/reference/objects#repositoryplanfeatures",
"description": "<p>Information about the availability of features and limits for a repository based on its billing plan.</p>",
"fields": [
{
"name": "codeowners",
"description": "<p>Whether reviews can be automatically requested and enforced with a CODEOWNERS file.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "draftPullRequests",
"description": "<p>Whether pull requests can be created as or converted to draft.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "maximumAssignees",
"description": "<p>Maximum number of users that can be assigned to an issue or pull request.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "maximumManualReviewRequests",
"description": "<p>Maximum number of manually-requested reviews on a pull request.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "teamReviewRequests",
"description": "<p>Whether teams can be requested to review pull requests.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
}
]
},
{
"name": "RepositoryPropertyConditionTarget",
"kind": "objects",
Expand Down
57 changes: 57 additions & 0 deletions src/graphql/data/ghec/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61561,6 +61561,14 @@
}
]
},
{
"name": "planFeatures",
"description": "<p>Returns information about the availability of certain features and limits based on the repository's billing plan.</p>",
"type": "RepositoryPlanFeatures!",
"id": "repositoryplanfeatures",
"kind": "objects",
"href": "/graphql/reference/objects#repositoryplanfeatures"
},
{
"name": "primaryLanguage",
"description": "<p>The primary language of the repository's code.</p>",
Expand Down Expand Up @@ -63443,6 +63451,55 @@
}
]
},
{
"name": "RepositoryPlanFeatures",
"kind": "objects",
"id": "repositoryplanfeatures",
"href": "/graphql/reference/objects#repositoryplanfeatures",
"description": "<p>Information about the availability of features and limits for a repository based on its billing plan.</p>",
"fields": [
{
"name": "codeowners",
"description": "<p>Whether reviews can be automatically requested and enforced with a CODEOWNERS file.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "draftPullRequests",
"description": "<p>Whether pull requests can be created as or converted to draft.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
},
{
"name": "maximumAssignees",
"description": "<p>Maximum number of users that can be assigned to an issue or pull request.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "maximumManualReviewRequests",
"description": "<p>Maximum number of manually-requested reviews on a pull request.</p>",
"type": "Int!",
"id": "int",
"kind": "scalars",
"href": "/graphql/reference/scalars#int"
},
{
"name": "teamReviewRequests",
"description": "<p>Whether teams can be requested to review pull requests.</p>",
"type": "Boolean!",
"id": "boolean",
"kind": "scalars",
"href": "/graphql/reference/scalars#boolean"
}
]
},
{
"name": "RepositoryPropertyConditionTarget",
"kind": "objects",
Expand Down