diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 7dc82ca321..686198a4fe 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -1665,56 +1665,6 @@ Types which can be actors for `BranchActorAllowance` objects. """ union BranchActorAllowanceActor = App | Team | User -""" -Parameters to be used for the branch_name_pattern rule -""" -type BranchNamePatternParameters { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean! - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - -""" -Parameters to be used for the branch_name_pattern rule -""" -input BranchNamePatternParametersInput { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - """ A branch protection rule. """ @@ -2107,11 +2057,6 @@ type BranchProtectionRuleEdge { node: BranchProtectionRule } -""" -Types that can represent a repository ruleset bypass actor. -""" -union BypassActor = App | Team - """ A user, team, or app who has the ability to bypass a force push requirement on a protected branch. """ @@ -4402,56 +4347,6 @@ input CommitAuthor { id: ID } -""" -Parameters to be used for the commit_author_email_pattern rule -""" -type CommitAuthorEmailPatternParameters { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean! - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - -""" -Parameters to be used for the commit_author_email_pattern rule -""" -input CommitAuthorEmailPatternParametersInput { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - """ Represents a comment on a given Commit. """ @@ -4911,56 +4806,6 @@ input CommitMessage { headline: String! } -""" -Parameters to be used for the commit_message_pattern rule -""" -type CommitMessagePatternParameters { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean! - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - -""" -Parameters to be used for the commit_message_pattern rule -""" -input CommitMessagePatternParametersInput { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - """ A git ref for a commit to be appended to. @@ -5001,56 +4846,6 @@ input CommittableBranch { repositoryNameWithOwner: String } -""" -Parameters to be used for the committer_email_pattern rule -""" -type CommitterEmailPatternParameters { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean! - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - -""" -Parameters to be used for the committer_email_pattern rule -""" -input CommitterEmailPatternParametersInput { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - """ Represents a comparison between two commit revisions. """ @@ -7090,71 +6885,6 @@ type CreateRepositoryPayload { repository: Repository } -""" -Autogenerated input type of CreateRepositoryRuleset -""" -input CreateRepositoryRulesetInput { - """ - A list of Team or App IDs allowed to bypass rules in this ruleset. - """ - bypassActorIds: [ID!] - - """ - The bypass mode for this ruleset - """ - bypassMode: RuleBypassMode - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The set of conditions for this ruleset - """ - conditions: RepositoryRuleConditionsInput! - - """ - The enforcement level for this ruleset - """ - enforcement: RuleEnforcement! - - """ - The name of the ruleset. - """ - name: String! - - """ - The list of rules for this ruleset - """ - rules: [RepositoryRuleInput!] - - """ - The global relay id of the source in which a new ruleset should be created in. - """ - sourceId: ID! @possibleTypes(concreteTypes: ["Organization", "Repository"], abstractType: "RuleSource") - - """ - The target of the ruleset. - """ - target: RepositoryRulesetTarget -} - -""" -Autogenerated return type of CreateRepositoryRuleset -""" -type CreateRepositoryRulesetPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The newly created Ruleset. - """ - ruleset: RepositoryRuleset -} - """ Autogenerated input type of CreateTeamDiscussionComment """ @@ -8213,31 +7943,6 @@ type DeleteRefPayload { clientMutationId: String } -""" -Autogenerated input type of DeleteRepositoryRuleset -""" -input DeleteRepositoryRulesetInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The global relay id of the repository ruleset to be deleted. - """ - repositoryRulesetId: ID! @possibleTypes(concreteTypes: ["RepositoryRuleset"]) -} - -""" -Autogenerated return type of DeleteRepositoryRuleset -""" -type DeleteRepositoryRulesetPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String -} - """ Autogenerated input type of DeleteTeamDiscussionComment """ @@ -19021,16 +18726,6 @@ type Mutation { input: CreateRepositoryInput! ): CreateRepositoryPayload - """ - Create a repository ruleset - """ - createRepositoryRuleset( - """ - Parameters for CreateRepositoryRuleset - """ - input: CreateRepositoryRulesetInput! - ): CreateRepositoryRulesetPayload - """ Creates a new team discussion. """ @@ -19211,16 +18906,6 @@ type Mutation { input: DeleteRefInput! ): DeleteRefPayload - """ - Delete a repository ruleset - """ - deleteRepositoryRuleset( - """ - Parameters for DeleteRepositoryRuleset - """ - input: DeleteRepositoryRulesetInput! - ): DeleteRepositoryRulesetPayload - """ Deletes a team discussion. """ @@ -20168,16 +19853,6 @@ type Mutation { input: UpdateRepositoryInput! ): UpdateRepositoryPayload - """ - Update a repository ruleset - """ - updateRepositoryRuleset( - """ - Parameters for UpdateRepositoryRuleset - """ - input: UpdateRepositoryRulesetInput! - ): UpdateRepositoryRulesetPayload - """ Sets whether contributors are required to sign off on web-based commits for a repository. """ @@ -24135,46 +23810,6 @@ type Organization implements Actor & AnnouncementBanner & MemberStatusable & Nod """ resourcePath: URI! - """ - Returns a single ruleset from the current organization by ID. - """ - ruleset( - """ - The ID of the ruleset to be returned. - """ - databaseId: Int! - ): RepositoryRuleset - - """ - A list of rulesets for this organization. - """ - rulesets( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Return rulesets configured at higher levels that apply to this organization - """ - includeParents: Boolean = true - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RepositoryRulesetConnection - """ The Organization's SAML identity provider. Visible to (1) organization owners, (2) organization owners' personal access tokens (classic) with read:org or @@ -27978,66 +27613,6 @@ enum PullRequestOrderField { UPDATED_AT } -""" -Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. -""" -type PullRequestParameters { - """ - New, reviewable commits pushed will dismiss previous pull request review approvals. - """ - dismissStaleReviewsOnPush: Boolean! - - """ - Require an approving review in pull requests that modify files that have a designated code owner. - """ - requireCodeOwnerReview: Boolean! - - """ - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. - """ - requireLastPushApproval: Boolean! - - """ - The number of approving reviews that are required before a pull request can be merged. - """ - requiredApprovingReviewCount: Int! - - """ - All conversations on code must be resolved before a pull request can be merged. - """ - requiredReviewThreadResolution: Boolean! -} - -""" -Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. -""" -input PullRequestParametersInput { - """ - New, reviewable commits pushed will dismiss previous pull request review approvals. - """ - dismissStaleReviewsOnPush: Boolean! - - """ - Require an approving review in pull requests that modify files that have a designated code owner. - """ - requireCodeOwnerReview: Boolean! - - """ - Whether the most recent reviewable push must be approved by someone other than the person who pushed it. - """ - requireLastPushApproval: Boolean! - - """ - The number of approving reviews that are required before a pull request can be merged. - """ - requiredApprovingReviewCount: Int! - - """ - All conversations on code must be resolved before a pull request can be merged. - """ - requiredReviewThreadResolution: Boolean! -} - """ A review object for a given pull request. """ @@ -30629,40 +30204,6 @@ type RefEdge { node: Ref } -""" -Parameters to be used for the ref_name condition -""" -type RefNameConditionTarget { - """ - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. - """ - exclude: [String!]! - - """ - Array of ref names or patterns to include. One of these patterns must match - for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the - default branch or `~ALL` to include all branches. - """ - include: [String!]! -} - -""" -Parameters to be used for the ref_name condition -""" -input RefNameConditionTargetInput { - """ - Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match. - """ - exclude: [String!]! - - """ - Array of ref names or patterns to include. One of these patterns must match - for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the - default branch or `~ALL` to include all branches. - """ - include: [String!]! -} - """ Ways in which lists of git refs can be ordered upon return. """ @@ -35235,51 +34776,6 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su """ resourcePath: URI! - """ - Returns a single ruleset from the current repository by ID. - """ - ruleset( - """ - The ID of the ruleset to be returned. - """ - databaseId: Int! - - """ - Include rulesets configured at higher levels that apply to this repository - """ - includeParents: Boolean = true - ): RepositoryRuleset - - """ - A list of rulesets for this repository. - """ - rulesets( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Return rulesets configured at higher levels that apply to this repository - """ - includeParents: Boolean = true - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RepositoryRulesetConnection - """ The security policy URL. """ @@ -36306,48 +35802,6 @@ enum RepositoryMigrationOrderField { CREATED_AT } -""" -Parameters to be used for the repository_name condition -""" -type RepositoryNameConditionTarget { - """ - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. - """ - exclude: [String!]! - - """ - Array of repository names or patterns to include. One of these patterns must - match for the condition to pass. Also accepts `~ALL` to include all repositories. - """ - include: [String!]! - - """ - Target changes that match these patterns will be prevented except by those with bypass permissions. - """ - protected: Boolean! -} - -""" -Parameters to be used for the repository_name condition -""" -input RepositoryNameConditionTargetInput { - """ - Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match. - """ - exclude: [String!]! - - """ - Array of repository names or patterns to include. One of these patterns must - match for the condition to pass. Also accepts `~ALL` to include all repositories. - """ - include: [String!]! - - """ - Target changes that match these patterns will be prevented except by those with bypass permissions. - """ - protected: Boolean -} - """ Represents a object that belongs to a repository. """ @@ -36559,402 +36013,6 @@ A repository rule. """ type RepositoryRule implements Node { id: ID! - - """ - The parameters for this rule. - """ - parameters: RuleParameters - - """ - The type of rule. - """ - type: RepositoryRuleType! -} - -""" -Set of conditions that determine if a ruleset will evaluate -""" -type RepositoryRuleConditions { - """ - Configuration for the ref_name condition - """ - refName: RefNameConditionTarget - - """ - Configuration for the repository_name condition - """ - repositoryName: RepositoryNameConditionTarget -} - -""" -Specifies the conditions required for a ruleset to evaluate -""" -input RepositoryRuleConditionsInput { - """ - Configuration for the ref_name condition - """ - refName: RefNameConditionTargetInput - - """ - Configuration for the repository_name condition - """ - repositoryName: RepositoryNameConditionTargetInput -} - -""" -The connection type for RepositoryRule. -""" -type RepositoryRuleConnection { - """ - A list of edges. - """ - edges: [RepositoryRuleEdge] - - """ - A list of nodes. - """ - nodes: [RepositoryRule] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type RepositoryRuleEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: RepositoryRule -} - -""" -Specifies the attributes for a new or updated rule. -""" -input RepositoryRuleInput { - """ - Optional ID of this rule when updating - """ - id: ID @possibleTypes(concreteTypes: ["RepositoryRule"]) - - """ - The parameters for the rule. - """ - parameters: RuleParametersInput - - """ - The type of rule to create. - """ - type: RepositoryRuleType! -} - -""" -The rule types supported in rulesets -""" -enum RepositoryRuleType { - """ - Branch name pattern - """ - BRANCH_NAME_PATTERN - - """ - Committer email pattern - """ - COMMITTER_EMAIL_PATTERN - - """ - Commit author email pattern - """ - COMMIT_AUTHOR_EMAIL_PATTERN - - """ - Commit message pattern - """ - COMMIT_MESSAGE_PATTERN - - """ - Only allow users with bypass permission to create matching refs. - """ - CREATION - - """ - Only allow users with bypass permissions to delete matching refs. - """ - DELETION - - """ - Prevent users with push access from force pushing to branches. - """ - NON_FAST_FORWARD - - """ - Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. - """ - PULL_REQUEST - - """ - Choose which environments must be successfully deployed to before branches can - be merged into a branch that matches this rule. - """ - REQUIRED_DEPLOYMENTS - - """ - Prevent merge commits from being pushed to matching branches. - """ - REQUIRED_LINEAR_HISTORY - - """ - Commits pushed to matching branches must have verified signatures. - """ - REQUIRED_SIGNATURES - - """ - Choose which status checks must pass before branches can be merged into a - branch that matches this rule. When enabled, commits must first be pushed to - another branch, then merged or pushed directly to a branch that matches this - rule after status checks have passed. - """ - REQUIRED_STATUS_CHECKS - - """ - Tag name pattern - """ - TAG_NAME_PATTERN - - """ - Only allow users with bypass permission to update matching refs. - """ - UPDATE -} - -""" -A repository ruleset. -""" -type RepositoryRuleset implements Node { - """ - The actors that can bypass this ruleset - """ - bypassActors( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - ): RepositoryRulesetBypassActorConnection - - """ - The bypass mode of this ruleset - """ - bypassMode: RuleBypassMode! - - """ - The set of conditions that must evaluate to true for this ruleset to apply - """ - conditions: RepositoryRuleConditions! - - """ - Identifies the date and time when the object was created. - """ - createdAt: DateTime! - - """ - Identifies the primary key from the database. - """ - databaseId: Int - - """ - The enforcement level of this ruleset - """ - enforcement: RuleEnforcement! - id: ID! - - """ - Name of the ruleset. - """ - name: String! - - """ - List of rules. - """ - rules( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - The type of rule. - """ - type: RepositoryRuleType - ): RepositoryRuleConnection - - """ - Source of ruleset. - """ - source: RuleSource! - - """ - Target of the ruleset. - """ - target: RepositoryRulesetTarget - - """ - Identifies the date and time when the object was last updated. - """ - updatedAt: DateTime! -} - -""" -A team or app that has the ability to bypass a rules defined on a ruleset -""" -type RepositoryRulesetBypassActor implements Node { - """ - The actor that can bypass rules. - """ - actor: BypassActor - id: ID! - - """ - Identifies the ruleset associated with the allowed actor - """ - repositoryRuleset: RepositoryRuleset -} - -""" -The connection type for RepositoryRulesetBypassActor. -""" -type RepositoryRulesetBypassActorConnection { - """ - A list of edges. - """ - edges: [RepositoryRulesetBypassActorEdge] - - """ - A list of nodes. - """ - nodes: [RepositoryRulesetBypassActor] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type RepositoryRulesetBypassActorEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: RepositoryRulesetBypassActor -} - -""" -The connection type for RepositoryRuleset. -""" -type RepositoryRulesetConnection { - """ - A list of edges. - """ - edges: [RepositoryRulesetEdge] - - """ - A list of nodes. - """ - nodes: [RepositoryRuleset] - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! - - """ - Identifies the total count of items in the connection. - """ - totalCount: Int! -} - -""" -An edge in a connection. -""" -type RepositoryRulesetEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of the edge. - """ - node: RepositoryRuleset -} - -""" -The targets supported for rulesets -""" -enum RepositoryRulesetTarget { - """ - Branch - """ - BRANCH - - """ - Tag - """ - TAG } """ @@ -37532,28 +36590,6 @@ interface RequirableByPullRequest { ): Boolean! } -""" -Choose which environments must be successfully deployed to before branches can -be merged into a branch that matches this rule. -""" -type RequiredDeploymentsParameters { - """ - The environments that must be successfully deployed to before branches can be merged. - """ - requiredDeploymentEnvironments: [String!]! -} - -""" -Choose which environments must be successfully deployed to before branches can -be merged into a branch that matches this rule. -""" -input RequiredDeploymentsParametersInput { - """ - The environments that must be successfully deployed to before branches can be merged. - """ - requiredDeploymentEnvironments: [String!]! -} - """ Represents a required status check for a protected branch, but not any specific run of that check. """ @@ -37586,46 +36622,6 @@ input RequiredStatusCheckInput { context: String! } -""" -Choose which status checks must pass before branches can be merged into a branch -that matches this rule. When enabled, commits must first be pushed to another -branch, then merged or pushed directly to a branch that matches this rule after -status checks have passed. -""" -type RequiredStatusChecksParameters { - """ - Status checks that are required. - """ - requiredStatusChecks: [StatusCheckConfiguration!]! - - """ - Whether pull requests targeting a matching branch must be tested with the - latest code. This setting will not take effect unless at least one status - check is enabled. - """ - strictRequiredStatusChecksPolicy: Boolean! -} - -""" -Choose which status checks must pass before branches can be merged into a branch -that matches this rule. When enabled, commits must first be pushed to another -branch, then merged or pushed directly to a branch that matches this rule after -status checks have passed. -""" -input RequiredStatusChecksParametersInput { - """ - Status checks that are required. - """ - requiredStatusChecks: [StatusCheckConfigurationInput!]! - - """ - Whether pull requests targeting a matching branch must be tested with the - latest code. This setting will not take effect unless at least one status - check is enabled. - """ - strictRequiredStatusChecksPolicy: Boolean! -} - """ Autogenerated input type of RerequestCheckSuite """ @@ -38099,131 +37095,6 @@ enum RoleInOrganization { UNAFFILIATED } -""" -The bypass mode for a rule or ruleset. -""" -enum RuleBypassMode { - """ - Bypassing is disabled - """ - NONE - - """ - Those with bypass permission at the organization level can bypass - """ - ORGANIZATION - - """ - Those with bypass permission at the organization level can always bypass - """ - ORGANIZATION_ALWAYS - - """ - Bypassing is disabled - """ - ORGANIZATION_NONE - - """ - Those with bypass permission at the organization level can bypass for pull requests only - """ - ORGANIZATION_PRS_ONLY - - """ - Those with bypass permission at the repository level can bypass - """ - REPOSITORY -} - -""" -The level of enforcement for a rule or ruleset. -""" -enum RuleEnforcement { - """ - Rules will be enforced - """ - ACTIVE - - """ - Do not evaluate or enforce rules - """ - DISABLED - - """ - Allow admins to test rules before enforcing them. Admins can view insights on - the Rule Insights page (`evaluate` is only available with GitHub Enterprise). - """ - EVALUATE -} - -""" -Types which can be parameters for `RepositoryRule` objects. -""" -union RuleParameters = - BranchNamePatternParameters - | CommitAuthorEmailPatternParameters - | CommitMessagePatternParameters - | CommitterEmailPatternParameters - | PullRequestParameters - | RequiredDeploymentsParameters - | RequiredStatusChecksParameters - | TagNamePatternParameters - | UpdateParameters - -""" -Specifies the parameters for a `RepositoryRule` object. Only one of the fields should be specified. -""" -input RuleParametersInput { - """ - Parameters used for the `branch_name_pattern` rule type - """ - branchNamePattern: BranchNamePatternParametersInput - - """ - Parameters used for the `commit_author_email_pattern` rule type - """ - commitAuthorEmailPattern: CommitAuthorEmailPatternParametersInput - - """ - Parameters used for the `commit_message_pattern` rule type - """ - commitMessagePattern: CommitMessagePatternParametersInput - - """ - Parameters used for the `committer_email_pattern` rule type - """ - committerEmailPattern: CommitterEmailPatternParametersInput - - """ - Parameters used for the `pull_request` rule type - """ - pullRequest: PullRequestParametersInput - - """ - Parameters used for the `required_deployments` rule type - """ - requiredDeployments: RequiredDeploymentsParametersInput - - """ - Parameters used for the `required_status_checks` rule type - """ - requiredStatusChecks: RequiredStatusChecksParametersInput - - """ - Parameters used for the `tag_name_pattern` rule type - """ - tagNamePattern: TagNamePatternParametersInput - - """ - Parameters used for the `update` rule type - """ - update: UpdateParametersInput -} - -""" -Types which can have `RepositoryRule` objects. -""" -union RuleSource = Organization | Repository - """ The possible digest algorithms used to sign SAML requests for an identity provider. """ @@ -39491,36 +38362,6 @@ type Status implements Node { state: StatusState! } -""" -Required status check -""" -type StatusCheckConfiguration { - """ - The status check context name that must be present on the commit. - """ - context: String! - - """ - The optional integration ID that this status check must originate from. - """ - integrationId: Int -} - -""" -Required status check -""" -input StatusCheckConfigurationInput { - """ - The status check context name that must be present on the commit. - """ - context: String! - - """ - The optional integration ID that this status check must originate from. - """ - integrationId: Int -} - """ Represents the rollup for both the check runs and status for a commit. """ @@ -39992,56 +38833,6 @@ type Tag implements GitObject & Node { target: GitObject! } -""" -Parameters to be used for the tag_name_pattern rule -""" -type TagNamePatternParameters { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean! - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - -""" -Parameters to be used for the tag_name_pattern rule -""" -input TagNamePatternParametersInput { - """ - How this rule will appear to users. - """ - name: String - - """ - If true, the rule will fail if the pattern matches. - """ - negate: Boolean - - """ - The operator to use for matching. - """ - operator: String! - - """ - The pattern to match with. - """ - pattern: String! -} - """ A team of users in an organization. """ @@ -44425,26 +43216,6 @@ type UpdateOrganizationWebCommitSignoffSettingPayload { organization: Organization } -""" -Only allow users with bypass permission to update matching refs. -""" -type UpdateParameters { - """ - Branch can pull changes from its upstream repository - """ - updateAllowsFetchAndMerge: Boolean! -} - -""" -Only allow users with bypass permission to update matching refs. -""" -input UpdateParametersInput { - """ - Branch can pull changes from its upstream repository - """ - updateAllowsFetchAndMerge: Boolean! -} - """ Autogenerated input type of UpdateProjectCard """ @@ -44897,71 +43668,6 @@ type UpdateRepositoryPayload { repository: Repository } -""" -Autogenerated input type of UpdateRepositoryRuleset -""" -input UpdateRepositoryRulesetInput { - """ - A list of Team or App IDs allowed to bypass rules in this ruleset. - """ - bypassActorIds: [ID!] - - """ - The bypass mode for this ruleset - """ - bypassMode: RuleBypassMode - - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The list of conditions for this ruleset - """ - conditions: RepositoryRuleConditionsInput - - """ - The enforcement level for this ruleset - """ - enforcement: RuleEnforcement - - """ - The name of the ruleset. - """ - name: String - - """ - The global relay id of the repository ruleset to be updated. - """ - repositoryRulesetId: ID! @possibleTypes(concreteTypes: ["RepositoryRuleset"]) - - """ - The list of rules for this ruleset - """ - rules: [RepositoryRuleInput!] - - """ - The target of the ruleset. - """ - target: RepositoryRulesetTarget -} - -""" -Autogenerated return type of UpdateRepositoryRuleset -""" -type UpdateRepositoryRulesetPayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The newly created Ruleset. - """ - ruleset: RepositoryRuleset -} - """ Autogenerated input type of UpdateRepositoryWebCommitSignoffSetting """ diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index cb1fd5f763..4cb0b38563 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -2311,40 +2311,6 @@ } ] }, - { - "name": "createRepositoryRuleset", - "kind": "mutations", - "id": "createrepositoryruleset", - "href": "/graphql/reference/mutations#createrepositoryruleset", - "description": "
Create a repository ruleset.
", - "inputFields": [ - { - "name": "input", - "type": "CreateRepositoryRulesetInput!", - "id": "createrepositoryrulesetinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#createrepositoryrulesetinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "A unique identifier for the client performing the mutation.
" - }, - { - "name": "ruleset", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset", - "description": "The newly created Ruleset.
" - } - ] - }, { "name": "createTeamDiscussion", "kind": "mutations", @@ -2949,32 +2915,6 @@ } ] }, - { - "name": "deleteRepositoryRuleset", - "kind": "mutations", - "id": "deleterepositoryruleset", - "href": "/graphql/reference/mutations#deleterepositoryruleset", - "description": "Delete a repository ruleset.
", - "inputFields": [ - { - "name": "input", - "type": "DeleteRepositoryRulesetInput!", - "id": "deleterepositoryrulesetinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#deleterepositoryrulesetinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "A unique identifier for the client performing the mutation.
" - } - ] - }, { "name": "deleteTeamDiscussion", "kind": "mutations", @@ -6415,40 +6355,6 @@ } ] }, - { - "name": "updateRepositoryRuleset", - "kind": "mutations", - "id": "updaterepositoryruleset", - "href": "/graphql/reference/mutations#updaterepositoryruleset", - "description": "Update a repository ruleset.
", - "inputFields": [ - { - "name": "input", - "type": "UpdateRepositoryRulesetInput!", - "id": "updaterepositoryrulesetinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#updaterepositoryrulesetinput" - } - ], - "returnFields": [ - { - "name": "clientMutationId", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string", - "description": "A unique identifier for the client performing the mutation.
" - }, - { - "name": "ruleset", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset", - "description": "The newly created Ruleset.
" - } - ] - }, { "name": "updateRepositoryWebCommitSignoffSetting", "kind": "mutations", @@ -7944,47 +7850,6 @@ } ] }, - { - "name": "BranchNamePatternParameters", - "kind": "objects", - "id": "branchnamepatternparameters", - "href": "/graphql/reference/objects#branchnamepatternparameters", - "description": "Parameters to be used for the branch_name_pattern rule.
", - "fields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "BranchProtectionRule", "kind": "objects", @@ -11102,47 +10967,6 @@ } ] }, - { - "name": "CommitAuthorEmailPatternParameters", - "kind": "objects", - "id": "commitauthoremailpatternparameters", - "href": "/graphql/reference/objects#commitauthoremailpatternparameters", - "description": "Parameters to be used for the commit_author_email_pattern rule.
", - "fields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "CommitComment", "kind": "objects", @@ -11907,88 +11731,6 @@ } ] }, - { - "name": "CommitMessagePatternParameters", - "kind": "objects", - "id": "commitmessagepatternparameters", - "href": "/graphql/reference/objects#commitmessagepatternparameters", - "description": "Parameters to be used for the commit_message_pattern rule.
", - "fields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, - { - "name": "CommitterEmailPatternParameters", - "kind": "objects", - "id": "committeremailpatternparameters", - "href": "/graphql/reference/objects#committeremailpatternparameters", - "description": "Parameters to be used for the committer_email_pattern rule.
", - "fields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "Comparison", "kind": "objects", @@ -34020,87 +33762,6 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, - { - "name": "ruleset", - "description": "Returns a single ruleset from the current organization by ID.
", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset", - "arguments": [ - { - "name": "databaseId", - "description": "The ID of the ruleset to be returned.
", - "type": { - "name": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, - { - "name": "rulesets", - "description": "A list of rulesets for this organization.
", - "type": "RepositoryRulesetConnection", - "id": "repositoryrulesetconnection", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetconnection", - "arguments": [ - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "Returns the first n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "includeParents", - "defaultValue": true, - "description": "Return rulesets configured at higher levels that apply to this organization.
", - "type": { - "name": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - }, - { - "name": "last", - "description": "Returns the last n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, { "name": "samlIdentityProvider", "description": "The Organization's SAML identity provider. Visible to (1) organization owners,\n(2) organization owners' personal access tokens (classic) with read:org or\nadmin:org scope, (3) GitHub App with an installation token with read or write\naccess to members.
", @@ -39407,55 +39068,6 @@ } ] }, - { - "name": "PullRequestParameters", - "kind": "objects", - "id": "pullrequestparameters", - "href": "/graphql/reference/objects#pullrequestparameters", - "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
", - "fields": [ - { - "name": "dismissStaleReviewsOnPush", - "description": "New, reviewable commits pushed will dismiss previous pull request review approvals.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requireCodeOwnerReview", - "description": "Require an approving review in pull requests that modify files that have a designated code owner.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requireLastPushApproval", - "description": "Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requiredApprovingReviewCount", - "description": "The number of approving reviews that are required before a pull request can be merged.
", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - }, - { - "name": "requiredReviewThreadResolution", - "description": "All conversations on code must be resolved before a pull request can be merged.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "PullRequestReview", "kind": "objects", @@ -42273,31 +41885,6 @@ } ] }, - { - "name": "RefNameConditionTarget", - "kind": "objects", - "id": "refnameconditiontarget", - "href": "/graphql/reference/objects#refnameconditiontarget", - "description": "Parameters to be used for the ref_name condition.
", - "fields": [ - { - "name": "exclude", - "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "include", - "description": "Array of ref names or patterns to include. One of these patterns must match\nfor the condition to pass. Also accepts ~DEFAULT_BRANCH to include the\ndefault branch or ~ALL to include all branches.
Returns a single ruleset from the current repository by ID.
", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset", - "arguments": [ - { - "name": "databaseId", - "description": "The ID of the ruleset to be returned.
", - "type": { - "name": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "includeParents", - "defaultValue": true, - "description": "Include rulesets configured at higher levels that apply to this repository.
", - "type": { - "name": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - } - ] - }, - { - "name": "rulesets", - "description": "A list of rulesets for this repository.
", - "type": "RepositoryRulesetConnection", - "id": "repositoryrulesetconnection", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetconnection", - "arguments": [ - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "Returns the first n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "includeParents", - "defaultValue": true, - "description": "Return rulesets configured at higher levels that apply to this repository.
", - "type": { - "name": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - }, - { - "name": "last", - "description": "Returns the last n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, { "name": "securityPolicyUrl", "description": "The security policy URL.
", @@ -50639,39 +50134,6 @@ } ] }, - { - "name": "RepositoryNameConditionTarget", - "kind": "objects", - "id": "repositorynameconditiontarget", - "href": "/graphql/reference/objects#repositorynameconditiontarget", - "description": "Parameters to be used for the repository_name condition.
", - "fields": [ - { - "name": "exclude", - "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "include", - "description": "Array of repository names or patterns to include. One of these patterns must\nmatch for the condition to pass. Also accepts ~ALL to include all repositories.
Target changes that match these patterns will be prevented except by those with bypass permissions.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "RepositoryRule", "kind": "objects", @@ -50684,477 +50146,6 @@ "id": "node", "href": "/graphql/reference/interfaces#node" } - ], - "fields": [ - { - "name": "parameters", - "description": "The parameters for this rule.
", - "type": "RuleParameters", - "id": "ruleparameters", - "kind": "unions", - "href": "/graphql/reference/unions#ruleparameters" - }, - { - "name": "type", - "description": "The type of rule.
", - "type": "RepositoryRuleType!", - "id": "repositoryruletype", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryruletype" - } - ] - }, - { - "name": "RepositoryRuleConditions", - "kind": "objects", - "id": "repositoryruleconditions", - "href": "/graphql/reference/objects#repositoryruleconditions", - "description": "Set of conditions that determine if a ruleset will evaluate.
", - "fields": [ - { - "name": "refName", - "description": "Configuration for the ref_name condition.
", - "type": "RefNameConditionTarget", - "id": "refnameconditiontarget", - "kind": "objects", - "href": "/graphql/reference/objects#refnameconditiontarget" - }, - { - "name": "repositoryName", - "description": "Configuration for the repository_name condition.
", - "type": "RepositoryNameConditionTarget", - "id": "repositorynameconditiontarget", - "kind": "objects", - "href": "/graphql/reference/objects#repositorynameconditiontarget" - } - ] - }, - { - "name": "RepositoryRuleConnection", - "kind": "objects", - "id": "repositoryruleconnection", - "href": "/graphql/reference/objects#repositoryruleconnection", - "description": "The connection type for RepositoryRule.
", - "fields": [ - { - "name": "edges", - "description": "A list of edges.
", - "type": "[RepositoryRuleEdge]", - "id": "repositoryruleedge", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleedge" - }, - { - "name": "nodes", - "description": "A list of nodes.
", - "type": "[RepositoryRule]", - "id": "repositoryrule", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrule" - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.
", - "type": "PageInfo!", - "id": "pageinfo", - "kind": "objects", - "href": "/graphql/reference/objects#pageinfo" - }, - { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.
", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, - { - "name": "RepositoryRuleEdge", - "kind": "objects", - "id": "repositoryruleedge", - "href": "/graphql/reference/objects#repositoryruleedge", - "description": "An edge in a connection.
", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "node", - "description": "The item at the end of the edge.
", - "type": "RepositoryRule", - "id": "repositoryrule", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrule" - } - ] - }, - { - "name": "RepositoryRuleset", - "kind": "objects", - "id": "repositoryruleset", - "href": "/graphql/reference/objects#repositoryruleset", - "description": "A repository ruleset.
", - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - } - ], - "fields": [ - { - "name": "bypassActors", - "description": "The actors that can bypass this ruleset.
", - "type": "RepositoryRulesetBypassActorConnection", - "id": "repositoryrulesetbypassactorconnection", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetbypassactorconnection", - "arguments": [ - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "Returns the first n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "Returns the last n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - } - ] - }, - { - "name": "bypassMode", - "description": "The bypass mode of this ruleset.
", - "type": "RuleBypassMode!", - "id": "rulebypassmode", - "kind": "enums", - "href": "/graphql/reference/enums#rulebypassmode" - }, - { - "name": "conditions", - "description": "The set of conditions that must evaluate to true for this ruleset to apply.
", - "type": "RepositoryRuleConditions!", - "id": "repositoryruleconditions", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleconditions" - }, - { - "name": "createdAt", - "description": "Identifies the date and time when the object was created.
", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - }, - { - "name": "databaseId", - "description": "Identifies the primary key from the database.
", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - }, - { - "name": "enforcement", - "description": "The enforcement level of this ruleset.
", - "type": "RuleEnforcement!", - "id": "ruleenforcement", - "kind": "enums", - "href": "/graphql/reference/enums#ruleenforcement" - }, - { - "name": "name", - "description": "Name of the ruleset.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "rules", - "description": "List of rules.
", - "type": "RepositoryRuleConnection", - "id": "repositoryruleconnection", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleconnection", - "arguments": [ - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.
", - "type": { - "name": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - }, - { - "name": "first", - "description": "Returns the first n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "last", - "description": "Returns the last n elements from the list.
", - "type": { - "name": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - }, - { - "name": "type", - "description": "The type of rule.
", - "type": { - "name": "RepositoryRuleType", - "id": "repositoryruletype", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryruletype" - } - } - ] - }, - { - "name": "source", - "description": "Source of ruleset.
", - "type": "RuleSource!", - "id": "rulesource", - "kind": "unions", - "href": "/graphql/reference/unions#rulesource" - }, - { - "name": "target", - "description": "Target of the ruleset.
", - "type": "RepositoryRulesetTarget", - "id": "repositoryrulesettarget", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryrulesettarget" - }, - { - "name": "updatedAt", - "description": "Identifies the date and time when the object was last updated.
", - "type": "DateTime!", - "id": "datetime", - "kind": "scalars", - "href": "/graphql/reference/scalars#datetime" - } - ] - }, - { - "name": "RepositoryRulesetBypassActor", - "kind": "objects", - "id": "repositoryrulesetbypassactor", - "href": "/graphql/reference/objects#repositoryrulesetbypassactor", - "description": "A team or app that has the ability to bypass a rules defined on a ruleset.
", - "implements": [ - { - "name": "Node", - "id": "node", - "href": "/graphql/reference/interfaces#node" - } - ], - "fields": [ - { - "name": "actor", - "description": "The actor that can bypass rules.
", - "type": "BypassActor", - "id": "bypassactor", - "kind": "unions", - "href": "/graphql/reference/unions#bypassactor" - }, - { - "name": "repositoryRuleset", - "description": "Identifies the ruleset associated with the allowed actor.
", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset" - } - ] - }, - { - "name": "RepositoryRulesetBypassActorConnection", - "kind": "objects", - "id": "repositoryrulesetbypassactorconnection", - "href": "/graphql/reference/objects#repositoryrulesetbypassactorconnection", - "description": "The connection type for RepositoryRulesetBypassActor.
", - "fields": [ - { - "name": "edges", - "description": "A list of edges.
", - "type": "[RepositoryRulesetBypassActorEdge]", - "id": "repositoryrulesetbypassactoredge", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetbypassactoredge" - }, - { - "name": "nodes", - "description": "A list of nodes.
", - "type": "[RepositoryRulesetBypassActor]", - "id": "repositoryrulesetbypassactor", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetbypassactor" - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.
", - "type": "PageInfo!", - "id": "pageinfo", - "kind": "objects", - "href": "/graphql/reference/objects#pageinfo" - }, - { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.
", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, - { - "name": "RepositoryRulesetBypassActorEdge", - "kind": "objects", - "id": "repositoryrulesetbypassactoredge", - "href": "/graphql/reference/objects#repositoryrulesetbypassactoredge", - "description": "An edge in a connection.
", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "node", - "description": "The item at the end of the edge.
", - "type": "RepositoryRulesetBypassActor", - "id": "repositoryrulesetbypassactor", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetbypassactor" - } - ] - }, - { - "name": "RepositoryRulesetConnection", - "kind": "objects", - "id": "repositoryrulesetconnection", - "href": "/graphql/reference/objects#repositoryrulesetconnection", - "description": "The connection type for RepositoryRuleset.
", - "fields": [ - { - "name": "edges", - "description": "A list of edges.
", - "type": "[RepositoryRulesetEdge]", - "id": "repositoryrulesetedge", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryrulesetedge" - }, - { - "name": "nodes", - "description": "A list of nodes.
", - "type": "[RepositoryRuleset]", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset" - }, - { - "name": "pageInfo", - "description": "Information to aid in pagination.
", - "type": "PageInfo!", - "id": "pageinfo", - "kind": "objects", - "href": "/graphql/reference/objects#pageinfo" - }, - { - "name": "totalCount", - "description": "Identifies the total count of items in the connection.
", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, - { - "name": "RepositoryRulesetEdge", - "kind": "objects", - "id": "repositoryrulesetedge", - "href": "/graphql/reference/objects#repositoryrulesetedge", - "description": "An edge in a connection.
", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "node", - "description": "The item at the end of the edge.
", - "type": "RepositoryRuleset", - "id": "repositoryruleset", - "kind": "objects", - "href": "/graphql/reference/objects#repositoryruleset" - } ] }, { @@ -51873,23 +50864,6 @@ } ] }, - { - "name": "RequiredDeploymentsParameters", - "kind": "objects", - "id": "requireddeploymentsparameters", - "href": "/graphql/reference/objects#requireddeploymentsparameters", - "description": "Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.
", - "fields": [ - { - "name": "requiredDeploymentEnvironments", - "description": "The environments that must be successfully deployed to before branches can be merged.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "RequiredStatusCheckDescription", "kind": "objects", @@ -51915,31 +50889,6 @@ } ] }, - { - "name": "RequiredStatusChecksParameters", - "kind": "objects", - "id": "requiredstatuschecksparameters", - "href": "/graphql/reference/objects#requiredstatuschecksparameters", - "description": "Choose which status checks must pass before branches can be merged into a branch\nthat matches this rule. When enabled, commits must first be pushed to another\nbranch, then merged or pushed directly to a branch that matches this rule after\nstatus checks have passed.
", - "fields": [ - { - "name": "requiredStatusChecks", - "description": "Status checks that are required.
", - "type": "[StatusCheckConfiguration!]!", - "id": "statuscheckconfiguration", - "kind": "objects", - "href": "/graphql/reference/objects#statuscheckconfiguration" - }, - { - "name": "strictRequiredStatusChecksPolicy", - "description": "Whether pull requests targeting a matching branch must be tested with the\nlatest code. This setting will not take effect unless at least one status\ncheck is enabled.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "RestrictedContribution", "kind": "objects", @@ -53739,31 +52688,6 @@ } ] }, - { - "name": "StatusCheckConfiguration", - "kind": "objects", - "id": "statuscheckconfiguration", - "href": "/graphql/reference/objects#statuscheckconfiguration", - "description": "Required status check.
", - "fields": [ - { - "name": "context", - "description": "The status check context name that must be present on the commit.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "integrationId", - "description": "The optional integration ID that this status check must originate from.
", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, { "name": "StatusCheckRollup", "kind": "objects", @@ -54394,47 +53318,6 @@ } ] }, - { - "name": "TagNamePatternParameters", - "kind": "objects", - "id": "tagnamepatternparameters", - "href": "/graphql/reference/objects#tagnamepatternparameters", - "description": "Parameters to be used for the tag_name_pattern rule.
", - "fields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "Team", "kind": "objects", @@ -58572,23 +57455,6 @@ } ] }, - { - "name": "UpdateParameters", - "kind": "objects", - "id": "updateparameters", - "href": "/graphql/reference/objects#updateparameters", - "description": "Only allow users with bypass permission to update matching refs.
", - "fields": [ - { - "name": "updateAllowsFetchAndMerge", - "description": "Branch can pull changes from its upstream repository.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "User", "kind": "objects", @@ -67548,88 +66414,6 @@ } ] }, - { - "name": "RepositoryRuleType", - "kind": "enums", - "id": "repositoryruletype", - "href": "/graphql/reference/enums#repositoryruletype", - "description": "The rule types supported in rulesets.
", - "values": [ - { - "name": "BRANCH_NAME_PATTERN", - "description": "Branch name pattern.
" - }, - { - "name": "COMMITTER_EMAIL_PATTERN", - "description": "Committer email pattern.
" - }, - { - "name": "COMMIT_AUTHOR_EMAIL_PATTERN", - "description": "Commit author email pattern.
" - }, - { - "name": "COMMIT_MESSAGE_PATTERN", - "description": "Commit message pattern.
" - }, - { - "name": "CREATION", - "description": "Only allow users with bypass permission to create matching refs.
" - }, - { - "name": "DELETION", - "description": "Only allow users with bypass permissions to delete matching refs.
" - }, - { - "name": "NON_FAST_FORWARD", - "description": "Prevent users with push access from force pushing to branches.
" - }, - { - "name": "PULL_REQUEST", - "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
" - }, - { - "name": "REQUIRED_DEPLOYMENTS", - "description": "Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.
" - }, - { - "name": "REQUIRED_LINEAR_HISTORY", - "description": "Prevent merge commits from being pushed to matching branches.
" - }, - { - "name": "REQUIRED_SIGNATURES", - "description": "Commits pushed to matching branches must have verified signatures.
" - }, - { - "name": "REQUIRED_STATUS_CHECKS", - "description": "Choose which status checks must pass before branches can be merged into a\nbranch that matches this rule. When enabled, commits must first be pushed to\nanother branch, then merged or pushed directly to a branch that matches this\nrule after status checks have passed.
" - }, - { - "name": "TAG_NAME_PATTERN", - "description": "Tag name pattern.
" - }, - { - "name": "UPDATE", - "description": "Only allow users with bypass permission to update matching refs.
" - } - ] - }, - { - "name": "RepositoryRulesetTarget", - "kind": "enums", - "id": "repositoryrulesettarget", - "href": "/graphql/reference/enums#repositoryrulesettarget", - "description": "The targets supported for rulesets.
", - "values": [ - { - "name": "BRANCH", - "description": "Branch.
" - }, - { - "name": "TAG", - "description": "Tag.
" - } - ] - }, { "name": "RepositoryVisibility", "kind": "enums", @@ -67743,60 +66527,6 @@ } ] }, - { - "name": "RuleBypassMode", - "kind": "enums", - "id": "rulebypassmode", - "href": "/graphql/reference/enums#rulebypassmode", - "description": "The bypass mode for a rule or ruleset.
", - "values": [ - { - "name": "NONE", - "description": "Bypassing is disabled.
" - }, - { - "name": "ORGANIZATION", - "description": "Those with bypass permission at the organization level can bypass.
" - }, - { - "name": "ORGANIZATION_ALWAYS", - "description": "Those with bypass permission at the organization level can always bypass.
" - }, - { - "name": "ORGANIZATION_NONE", - "description": "Bypassing is disabled.
" - }, - { - "name": "ORGANIZATION_PRS_ONLY", - "description": "Those with bypass permission at the organization level can bypass for pull requests only.
" - }, - { - "name": "REPOSITORY", - "description": "Those with bypass permission at the repository level can bypass.
" - } - ] - }, - { - "name": "RuleEnforcement", - "kind": "enums", - "id": "ruleenforcement", - "href": "/graphql/reference/enums#ruleenforcement", - "description": "The level of enforcement for a rule or ruleset.
", - "values": [ - { - "name": "ACTIVE", - "description": "Rules will be enforced.
" - }, - { - "name": "DISABLED", - "description": "Do not evaluate or enforce rules.
" - }, - { - "name": "EVALUATE", - "description": "Allow admins to test rules before enforcing them. Admins can view insights on\nthe Rule Insights page (evaluate is only available with GitHub Enterprise).
Types that can represent a repository ruleset bypass actor.
", - "possibleTypes": [ - { - "name": "App", - "id": "app", - "href": "/graphql/reference/objects#app" - }, - { - "name": "Team", - "id": "team", - "href": "/graphql/reference/objects#team" - } - ] - }, { "name": "Claimable", "kind": "unions", @@ -69980,79 +68691,6 @@ } ] }, - { - "name": "RuleParameters", - "kind": "unions", - "id": "ruleparameters", - "href": "/graphql/reference/unions#ruleparameters", - "description": "Types which can be parameters for RepositoryRule objects.
Types which can have RepositoryRule objects.
Parameters to be used for the branch_name_pattern rule.
", - "inputFields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "ChangeUserStatusInput", "kind": "inputObjects", @@ -71563,47 +70160,6 @@ } ] }, - { - "name": "CommitAuthorEmailPatternParametersInput", - "kind": "inputObjects", - "id": "commitauthoremailpatternparametersinput", - "href": "/graphql/reference/input-objects#commitauthoremailpatternparametersinput", - "description": "Parameters to be used for the commit_author_email_pattern rule.
", - "inputFields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "CommitContributionOrder", "kind": "inputObjects", @@ -71654,47 +70210,6 @@ } ] }, - { - "name": "CommitMessagePatternParametersInput", - "kind": "inputObjects", - "id": "commitmessagepatternparametersinput", - "href": "/graphql/reference/input-objects#commitmessagepatternparametersinput", - "description": "Parameters to be used for the commit_message_pattern rule.
", - "inputFields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "CommittableBranch", "kind": "inputObjects", @@ -71728,47 +70243,6 @@ } ] }, - { - "name": "CommitterEmailPatternParametersInput", - "kind": "inputObjects", - "id": "committeremailpatternparametersinput", - "href": "/graphql/reference/input-objects#committeremailpatternparametersinput", - "description": "Parameters to be used for the committer_email_pattern rule.
", - "inputFields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "ContributionOrder", "kind": "inputObjects", @@ -73264,88 +71738,6 @@ } ] }, - { - "name": "CreateRepositoryRulesetInput", - "kind": "inputObjects", - "id": "createrepositoryrulesetinput", - "href": "/graphql/reference/input-objects#createrepositoryrulesetinput", - "description": "Autogenerated input type of CreateRepositoryRuleset.
", - "inputFields": [ - { - "name": "bypassActorIds", - "description": "A list of Team or App IDs allowed to bypass rules in this ruleset.
", - "type": "[ID!]", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id" - }, - { - "name": "bypassMode", - "description": "The bypass mode for this ruleset.
", - "type": "RuleBypassMode", - "id": "rulebypassmode", - "kind": "enums", - "href": "/graphql/reference/enums#rulebypassmode" - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "conditions", - "description": "The set of conditions for this ruleset.
", - "type": "RepositoryRuleConditionsInput!", - "id": "repositoryruleconditionsinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#repositoryruleconditionsinput" - }, - { - "name": "enforcement", - "description": "The enforcement level for this ruleset.
", - "type": "RuleEnforcement!", - "id": "ruleenforcement", - "kind": "enums", - "href": "/graphql/reference/enums#ruleenforcement" - }, - { - "name": "name", - "description": "The name of the ruleset.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "rules", - "description": "The list of rules for this ruleset.
", - "type": "[RepositoryRuleInput!]", - "id": "repositoryruleinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#repositoryruleinput" - }, - { - "name": "sourceId", - "description": "The global relay id of the source in which a new ruleset should be created in.
", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - }, - { - "name": "target", - "description": "The target of the ruleset.
", - "type": "RepositoryRulesetTarget", - "id": "repositoryrulesettarget", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryrulesettarget" - } - ] - }, { "name": "CreateTeamDiscussionCommentInput", "kind": "inputObjects", @@ -73862,32 +72254,6 @@ } ] }, - { - "name": "DeleteRepositoryRulesetInput", - "kind": "inputObjects", - "id": "deleterepositoryrulesetinput", - "href": "/graphql/reference/input-objects#deleterepositoryrulesetinput", - "description": "Autogenerated input type of DeleteRepositoryRuleset.
", - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "repositoryRulesetId", - "description": "The global relay id of the repository ruleset to be deleted.
", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - } - ] - }, { "name": "DeleteTeamDiscussionCommentInput", "kind": "inputObjects", @@ -75491,55 +73857,6 @@ } ] }, - { - "name": "PullRequestParametersInput", - "kind": "inputObjects", - "id": "pullrequestparametersinput", - "href": "/graphql/reference/input-objects#pullrequestparametersinput", - "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.
", - "inputFields": [ - { - "name": "dismissStaleReviewsOnPush", - "description": "New, reviewable commits pushed will dismiss previous pull request review approvals.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requireCodeOwnerReview", - "description": "Require an approving review in pull requests that modify files that have a designated code owner.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requireLastPushApproval", - "description": "Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "requiredApprovingReviewCount", - "description": "The number of approving reviews that are required before a pull request can be merged.
", - "type": "Int!", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - }, - { - "name": "requiredReviewThreadResolution", - "description": "All conversations on code must be resolved before a pull request can be merged.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "ReactionOrder", "kind": "inputObjects", @@ -75565,31 +73882,6 @@ } ] }, - { - "name": "RefNameConditionTargetInput", - "kind": "inputObjects", - "id": "refnameconditiontargetinput", - "href": "/graphql/reference/input-objects#refnameconditiontargetinput", - "description": "Parameters to be used for the ref_name condition.
", - "inputFields": [ - { - "name": "exclude", - "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "include", - "description": "Array of ref names or patterns to include. One of these patterns must match\nfor the condition to pass. Also accepts ~DEFAULT_BRANCH to include the\ndefault branch or ~ALL to include all branches.
Parameters to be used for the repository_name condition.
", - "inputFields": [ - { - "name": "exclude", - "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "include", - "description": "Array of repository names or patterns to include. One of these patterns must\nmatch for the condition to pass. Also accepts ~ALL to include all repositories.
Target changes that match these patterns will be prevented except by those with bypass permissions.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "RepositoryOrder", "kind": "inputObjects", @@ -76150,65 +74409,6 @@ } ] }, - { - "name": "RepositoryRuleConditionsInput", - "kind": "inputObjects", - "id": "repositoryruleconditionsinput", - "href": "/graphql/reference/input-objects#repositoryruleconditionsinput", - "description": "Specifies the conditions required for a ruleset to evaluate.
", - "inputFields": [ - { - "name": "refName", - "description": "Configuration for the ref_name condition.
", - "type": "RefNameConditionTargetInput", - "id": "refnameconditiontargetinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#refnameconditiontargetinput" - }, - { - "name": "repositoryName", - "description": "Configuration for the repository_name condition.
", - "type": "RepositoryNameConditionTargetInput", - "id": "repositorynameconditiontargetinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#repositorynameconditiontargetinput" - } - ] - }, - { - "name": "RepositoryRuleInput", - "kind": "inputObjects", - "id": "repositoryruleinput", - "href": "/graphql/reference/input-objects#repositoryruleinput", - "description": "Specifies the attributes for a new or updated rule.
", - "inputFields": [ - { - "name": "id", - "description": "Optional ID of this rule when updating.
", - "type": "ID", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - }, - { - "name": "parameters", - "description": "The parameters for the rule.
", - "type": "RuleParametersInput", - "id": "ruleparametersinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#ruleparametersinput" - }, - { - "name": "type", - "description": "The type of rule to create.
", - "type": "RepositoryRuleType!", - "id": "repositoryruletype", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryruletype" - } - ] - }, { "name": "RequestReviewsInput", "kind": "inputObjects", @@ -76261,23 +74461,6 @@ } ] }, - { - "name": "RequiredDeploymentsParametersInput", - "kind": "inputObjects", - "id": "requireddeploymentsparametersinput", - "href": "/graphql/reference/input-objects#requireddeploymentsparametersinput", - "description": "Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.
", - "inputFields": [ - { - "name": "requiredDeploymentEnvironments", - "description": "The environments that must be successfully deployed to before branches can be merged.
", - "type": "[String!]!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "RequiredStatusCheckInput", "kind": "inputObjects", @@ -76303,31 +74486,6 @@ } ] }, - { - "name": "RequiredStatusChecksParametersInput", - "kind": "inputObjects", - "id": "requiredstatuschecksparametersinput", - "href": "/graphql/reference/input-objects#requiredstatuschecksparametersinput", - "description": "Choose which status checks must pass before branches can be merged into a branch\nthat matches this rule. When enabled, commits must first be pushed to another\nbranch, then merged or pushed directly to a branch that matches this rule after\nstatus checks have passed.
", - "inputFields": [ - { - "name": "requiredStatusChecks", - "description": "Status checks that are required.
", - "type": "[StatusCheckConfigurationInput!]!", - "id": "statuscheckconfigurationinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#statuscheckconfigurationinput" - }, - { - "name": "strictRequiredStatusChecksPolicy", - "description": "Whether pull requests targeting a matching branch must be tested with the\nlatest code. This setting will not take effect unless at least one status\ncheck is enabled.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "RerequestCheckSuiteInput", "kind": "inputObjects", @@ -76465,87 +74623,6 @@ } ] }, - { - "name": "RuleParametersInput", - "kind": "inputObjects", - "id": "ruleparametersinput", - "href": "/graphql/reference/input-objects#ruleparametersinput", - "description": "Specifies the parameters for a RepositoryRule object. Only one of the fields should be specified.
Parameters used for the branch_name_pattern rule type.
Parameters used for the commit_author_email_pattern rule type.
Parameters used for the commit_message_pattern rule type.
Parameters used for the committer_email_pattern rule type.
Parameters used for the pull_request rule type.
Parameters used for the required_deployments rule type.
Parameters used for the required_status_checks rule type.
Parameters used for the tag_name_pattern rule type.
Parameters used for the update rule type.
Required status check.
", - "inputFields": [ - { - "name": "context", - "description": "The status check context name that must be present on the commit.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "integrationId", - "description": "The optional integration ID that this status check must originate from.
", - "type": "Int", - "id": "int", - "kind": "scalars", - "href": "/graphql/reference/scalars#int" - } - ] - }, { "name": "SubmitPullRequestReviewInput", "kind": "inputObjects", @@ -76837,47 +74889,6 @@ } ] }, - { - "name": "TagNamePatternParametersInput", - "kind": "inputObjects", - "id": "tagnamepatternparametersinput", - "href": "/graphql/reference/input-objects#tagnamepatternparametersinput", - "description": "Parameters to be used for the tag_name_pattern rule.
", - "inputFields": [ - { - "name": "name", - "description": "How this rule will appear to users.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "negate", - "description": "If true, the rule will fail if the pattern matches.
", - "type": "Boolean", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - }, - { - "name": "operator", - "description": "The operator to use for matching.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "pattern", - "description": "The pattern to match with.
", - "type": "String!", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - } - ] - }, { "name": "TeamDiscussionCommentOrder", "kind": "inputObjects", @@ -78856,23 +76867,6 @@ } ] }, - { - "name": "UpdateParametersInput", - "kind": "inputObjects", - "id": "updateparametersinput", - "href": "/graphql/reference/input-objects#updateparametersinput", - "description": "Only allow users with bypass permission to update matching refs.
", - "inputFields": [ - { - "name": "updateAllowsFetchAndMerge", - "description": "Branch can pull changes from its upstream repository.
", - "type": "Boolean!", - "id": "boolean", - "kind": "scalars", - "href": "/graphql/reference/scalars#boolean" - } - ] - }, { "name": "UpdateProjectCardInput", "kind": "inputObjects", @@ -79392,88 +77386,6 @@ } ] }, - { - "name": "UpdateRepositoryRulesetInput", - "kind": "inputObjects", - "id": "updaterepositoryrulesetinput", - "href": "/graphql/reference/input-objects#updaterepositoryrulesetinput", - "description": "Autogenerated input type of UpdateRepositoryRuleset.
", - "inputFields": [ - { - "name": "bypassActorIds", - "description": "A list of Team or App IDs allowed to bypass rules in this ruleset.
", - "type": "[ID!]", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id" - }, - { - "name": "bypassMode", - "description": "The bypass mode for this ruleset.
", - "type": "RuleBypassMode", - "id": "rulebypassmode", - "kind": "enums", - "href": "/graphql/reference/enums#rulebypassmode" - }, - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "conditions", - "description": "The list of conditions for this ruleset.
", - "type": "RepositoryRuleConditionsInput", - "id": "repositoryruleconditionsinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#repositoryruleconditionsinput" - }, - { - "name": "enforcement", - "description": "The enforcement level for this ruleset.
", - "type": "RuleEnforcement", - "id": "ruleenforcement", - "kind": "enums", - "href": "/graphql/reference/enums#ruleenforcement" - }, - { - "name": "name", - "description": "The name of the ruleset.
", - "type": "String", - "id": "string", - "kind": "scalars", - "href": "/graphql/reference/scalars#string" - }, - { - "name": "repositoryRulesetId", - "description": "The global relay id of the repository ruleset to be updated.
", - "type": "ID!", - "id": "id", - "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false - }, - { - "name": "rules", - "description": "The list of rules for this ruleset.
", - "type": "[RepositoryRuleInput!]", - "id": "repositoryruleinput", - "kind": "input-objects", - "href": "/graphql/reference/input-objects#repositoryruleinput" - }, - { - "name": "target", - "description": "The target of the ruleset.
", - "type": "RepositoryRulesetTarget", - "id": "repositoryrulesettarget", - "kind": "enums", - "href": "/graphql/reference/enums#repositoryrulesettarget" - } - ] - }, { "name": "UpdateRepositoryWebCommitSignoffSettingInput", "kind": "inputObjects",