Skip to content

Commit

Permalink
fix(RepositoryRuleType): description updates (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Nov 2, 2023
1 parent 443c595 commit 1a4db83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 28 deletions.
2 changes: 0 additions & 2 deletions schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21918,8 +21918,6 @@ export type RepositoryRuleType =
| 'CREATION'
/** Only allow users with bypass permissions to delete matching refs. */
| 'DELETION'
/** File path pattern */
| 'FILE_PATH_PATTERN'
/** Branch is read-only. Users cannot push to the branch. */
| 'LOCK_BRANCH'
/** Max ref updates */
Expand Down
29 changes: 9 additions & 20 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -43800,11 +43800,6 @@ enum RepositoryRuleType {
"""
DELETION

"""
File path pattern
"""
FILE_PATH_PATTERN

"""
Branch is read-only. Users cannot push to the branch.
"""
Expand Down Expand Up @@ -43836,7 +43831,7 @@ enum RepositoryRuleType {
PULL_REQUEST

"""
Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
"""
REQUIRED_DEPLOYMENTS

Expand All @@ -43857,10 +43852,8 @@ enum RepositoryRuleType {
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 ref that matches this rule
after status checks have passed.
Choose which status checks must pass before the ref is updated. When enabled,
commits must first be pushed to another ref where the checks pass.
"""
REQUIRED_STATUS_CHECKS

Expand Down Expand Up @@ -44795,7 +44788,7 @@ interface RequirableByPullRequest {
}

"""
Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
"""
type RequiredDeploymentsParameters {
"""
Expand All @@ -44805,7 +44798,7 @@ type RequiredDeploymentsParameters {
}

"""
Choose which environments must be successfully deployed to before refs can be merged into a branch that matches this rule.
Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.
"""
input RequiredDeploymentsParametersInput {
"""
Expand Down Expand Up @@ -44847,10 +44840,8 @@ input RequiredStatusCheckInput {
}

"""
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 ref that matches this rule after
status checks have passed.
Choose which status checks must pass before the ref is updated. When enabled,
commits must first be pushed to another ref where the checks pass.
"""
type RequiredStatusChecksParameters {
"""
Expand All @@ -44867,10 +44858,8 @@ type RequiredStatusChecksParameters {
}

"""
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 ref that matches this rule after
status checks have passed.
Choose which status checks must pass before the ref is updated. When enabled,
commits must first be pushed to another ref where the checks pass.
"""
input RequiredStatusChecksParametersInput {
"""
Expand Down
6 changes: 0 additions & 6 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116453,12 +116453,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "FILE_PATH_PATTERN",
"description": "File path pattern",
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "WORKFLOWS",
"description": "Require all changes made to a targeted branch to pass the specified workflows before they can be merged.",
Expand Down

0 comments on commit 1a4db83

Please sign in to comment.