diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 285e9f1bbf..e102208ae3 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -28246,6 +28246,36 @@ enum ProjectTemplate { BUG_TRIAGE } +""" +A property that must match +""" +type PropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input PropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + """ A user's public key. """ @@ -38530,6 +38560,36 @@ enum RepositoryPrivacy { PUBLIC } +""" +Parameters to be used for the repository_property condition +""" +type RepositoryPropertyConditionTarget { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinition!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinition!]! +} + +""" +Parameters to be used for the repository_property condition +""" +input RepositoryPropertyConditionTargetInput { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinitionInput!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinitionInput!]! +} + """ A repository rule. """ @@ -38573,6 +38633,11 @@ type RepositoryRuleConditions { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTarget + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTarget } """ @@ -38593,6 +38658,11 @@ input RepositoryRuleConditionsInput { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTargetInput + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTargetInput } """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index fb03feb0a5..d9e581dc42 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -34916,6 +34916,36 @@ enum ProjectV2WorkflowsOrderField { UPDATED_AT } +""" +A property that must match +""" +type PropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input PropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + """ A user's public key. """ @@ -45911,6 +45941,36 @@ enum RepositoryPrivacy { PUBLIC } +""" +Parameters to be used for the repository_property condition +""" +type RepositoryPropertyConditionTarget { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinition!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinition!]! +} + +""" +Parameters to be used for the repository_property condition +""" +input RepositoryPropertyConditionTargetInput { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinitionInput!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinitionInput!]! +} + """ A repository rule. """ @@ -45954,6 +46014,11 @@ type RepositoryRuleConditions { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTarget + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTarget } """ @@ -45974,6 +46039,11 @@ input RepositoryRuleConditionsInput { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTargetInput + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTargetInput } """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index fb03feb0a5..d9e581dc42 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -34916,6 +34916,36 @@ enum ProjectV2WorkflowsOrderField { UPDATED_AT } +""" +A property that must match +""" +type PropertyTargetDefinition { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + +""" +A property that must match +""" +input PropertyTargetDefinitionInput { + """ + The name of the property + """ + name: String! + + """ + The values to match for + """ + propertyValues: [String!]! +} + """ A user's public key. """ @@ -45911,6 +45941,36 @@ enum RepositoryPrivacy { PUBLIC } +""" +Parameters to be used for the repository_property condition +""" +type RepositoryPropertyConditionTarget { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinition!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinition!]! +} + +""" +Parameters to be used for the repository_property condition +""" +input RepositoryPropertyConditionTargetInput { + """ + Array of repository properties that must not match. + """ + exclude: [PropertyTargetDefinitionInput!]! + + """ + Array of repository properties that must match + """ + include: [PropertyTargetDefinitionInput!]! +} + """ A repository rule. """ @@ -45954,6 +46014,11 @@ type RepositoryRuleConditions { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTarget + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTarget } """ @@ -45974,6 +46039,11 @@ input RepositoryRuleConditionsInput { Configuration for the repository_name condition """ repositoryName: RepositoryNameConditionTargetInput + + """ + Configuration for the repository_property condition + """ + repositoryProperty: RepositoryPropertyConditionTargetInput } """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 629864e253..9220aa41ef 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,22 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "
Type PropertyTargetDefinition was added
Type PropertyTargetDefinitionInput was added
Type RepositoryPropertyConditionTarget was added
Type RepositoryPropertyConditionTargetInput was added
Field repositoryProperty was added to object type RepositoryRuleConditions
Input field repositoryProperty of type RepositoryPropertyConditionTargetInput was added to input object type RepositoryRuleConditionsInput
A property that must match.
", + "fields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PublicKey", "kind": "objects", @@ -63296,6 +63321,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTarget", + "kind": "objects", + "id": "repositorypropertyconditiontarget", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget", + "description": "Parameters to be used for the repository_property condition.
", + "fields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + } + ] + }, { "name": "RepositoryRule", "kind": "objects", @@ -63374,6 +63424,14 @@ "id": "repositorynameconditiontarget", "kind": "objects", "href": "/graphql/reference/objects#repositorynameconditiontarget" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTarget", + "id": "repositorypropertyconditiontarget", + "kind": "objects", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget" } ] }, @@ -97549,6 +97607,31 @@ } ] }, + { + "name": "PropertyTargetDefinitionInput", + "kind": "inputObjects", + "id": "propertytargetdefinitioninput", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput", + "description": "A property that must match.
", + "inputFields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PublishSponsorsTierInput", "kind": "inputObjects", @@ -98458,6 +98541,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTargetInput", + "kind": "inputObjects", + "id": "repositorypropertyconditiontargetinput", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput", + "description": "Parameters to be used for the repository_property condition.
", + "inputFields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + } + ] + }, { "name": "RepositoryRuleConditionsInput", "kind": "inputObjects", @@ -98488,6 +98596,14 @@ "id": "repositorynameconditiontargetinput", "kind": "input-objects", "href": "/graphql/reference/input-objects#repositorynameconditiontargetinput" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTargetInput", + "id": "repositorypropertyconditiontargetinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput" } ] }, diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 1bee805b9a..8b5c68ba65 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -39414,6 +39414,31 @@ } ] }, + { + "name": "PropertyTargetDefinition", + "kind": "objects", + "id": "propertytargetdefinition", + "href": "/graphql/reference/objects#propertytargetdefinition", + "description": "A property that must match.
", + "fields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PublicKey", "kind": "objects", @@ -53682,6 +53707,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTarget", + "kind": "objects", + "id": "repositorypropertyconditiontarget", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget", + "description": "Parameters to be used for the repository_property condition.
", + "fields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + } + ] + }, { "name": "RepositoryRule", "kind": "objects", @@ -53760,6 +53810,14 @@ "id": "repositorynameconditiontarget", "kind": "objects", "href": "/graphql/reference/objects#repositorynameconditiontarget" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTarget", + "id": "repositorypropertyconditiontarget", + "kind": "objects", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget" } ] }, @@ -80166,6 +80224,31 @@ } ] }, + { + "name": "PropertyTargetDefinitionInput", + "kind": "inputObjects", + "id": "propertytargetdefinitioninput", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput", + "description": "A property that must match.
", + "inputFields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PullRequestOrder", "kind": "inputObjects", @@ -80867,6 +80950,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTargetInput", + "kind": "inputObjects", + "id": "repositorypropertyconditiontargetinput", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput", + "description": "Parameters to be used for the repository_property condition.
", + "inputFields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + } + ] + }, { "name": "RepositoryRuleConditionsInput", "kind": "inputObjects", @@ -80897,6 +81005,14 @@ "id": "repositorynameconditiontargetinput", "kind": "input-objects", "href": "/graphql/reference/input-objects#repositorynameconditiontargetinput" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTargetInput", + "id": "repositorypropertyconditiontargetinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput" } ] }, diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 7e22847e0f..372d1b62ce 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -48591,6 +48591,31 @@ } ] }, + { + "name": "PropertyTargetDefinition", + "kind": "objects", + "id": "propertytargetdefinition", + "href": "/graphql/reference/objects#propertytargetdefinition", + "description": "A property that must match.
", + "fields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PublicKey", "kind": "objects", @@ -63296,6 +63321,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTarget", + "kind": "objects", + "id": "repositorypropertyconditiontarget", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget", + "description": "Parameters to be used for the repository_property condition.
", + "fields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinition!]!", + "id": "propertytargetdefinition", + "kind": "objects", + "href": "/graphql/reference/objects#propertytargetdefinition" + } + ] + }, { "name": "RepositoryRule", "kind": "objects", @@ -63374,6 +63424,14 @@ "id": "repositorynameconditiontarget", "kind": "objects", "href": "/graphql/reference/objects#repositorynameconditiontarget" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTarget", + "id": "repositorypropertyconditiontarget", + "kind": "objects", + "href": "/graphql/reference/objects#repositorypropertyconditiontarget" } ] }, @@ -97549,6 +97607,31 @@ } ] }, + { + "name": "PropertyTargetDefinitionInput", + "kind": "inputObjects", + "id": "propertytargetdefinitioninput", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput", + "description": "A property that must match.
", + "inputFields": [ + { + "name": "name", + "description": "The name of the property.
", + "type": "String!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + }, + { + "name": "propertyValues", + "description": "The values to match for.
", + "type": "[String!]!", + "id": "string", + "kind": "scalars", + "href": "/graphql/reference/scalars#string" + } + ] + }, { "name": "PublishSponsorsTierInput", "kind": "inputObjects", @@ -98458,6 +98541,31 @@ } ] }, + { + "name": "RepositoryPropertyConditionTargetInput", + "kind": "inputObjects", + "id": "repositorypropertyconditiontargetinput", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput", + "description": "Parameters to be used for the repository_property condition.
", + "inputFields": [ + { + "name": "exclude", + "description": "Array of repository properties that must not match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + }, + { + "name": "include", + "description": "Array of repository properties that must match.
", + "type": "[PropertyTargetDefinitionInput!]!", + "id": "propertytargetdefinitioninput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#propertytargetdefinitioninput" + } + ] + }, { "name": "RepositoryRuleConditionsInput", "kind": "inputObjects", @@ -98488,6 +98596,14 @@ "id": "repositorynameconditiontargetinput", "kind": "input-objects", "href": "/graphql/reference/input-objects#repositorynameconditiontargetinput" + }, + { + "name": "repositoryProperty", + "description": "Configuration for the repository_property condition.
", + "type": "RepositoryPropertyConditionTargetInput", + "id": "repositorypropertyconditiontargetinput", + "kind": "input-objects", + "href": "/graphql/reference/input-objects#repositorypropertyconditiontargetinput" } ] },