From c993a913805941cfe893239a4691e7a324770d85 Mon Sep 17 00:00:00 2001 From: Grace Park Date: Thu, 1 Jun 2023 09:32:33 -0700 Subject: [PATCH 1/2] Remove spaces from links in content and data (#37384) --- .../customizing-your-profile/personalizing-your-profile.md | 2 +- content/admin/overview/about-upgrades-to-new-releases.md | 2 +- content/education/guides.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile.md b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile.md index 79cfa97dba30..2b9e56511374 100644 --- a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile.md +++ b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile.md @@ -227,7 +227,7 @@ If you authored any commit(s) present in the commit history for the listed tag o | [pyparsing/pyparsing](https://github.com/pyparsing/pyparsing) | 2.4.7 | [pyparsing_2.4.7](https://github.com/pyparsing/pyparsing/releases/tag/pyparsing_2.4.7) | | [pyserial/pyserial](https://github.com/pyserial/pyserial) | 3.5 | [v3.5](https://github.com/pyserial/pyserial/releases/tag/v3.5) | | [dateutil/dateutil](https://github.com/dateutil/dateutil) | 2.8.1 | [2.8.1](https://github.com/dateutil/dateutil/releases/tag/2.8.1) | -| [yaml/pyyaml ](https://github.com/yaml/pyyaml) | 5.4.1 | [5.4.1](https://github.com/yaml/pyyaml/releases/tag/5.4.1) | +| [yaml/pyyaml](https://github.com/yaml/pyyaml) | 5.4.1 | [5.4.1](https://github.com/yaml/pyyaml/releases/tag/5.4.1) | | [psf/requests](https://github.com/psf/requests) | 2.25.1 | [v2.25.1](https://github.com/psf/requests/releases/tag/v2.25.1) | | [boto/s3transfer](https://github.com/boto/s3transfer) | 0.3.4 | [0.3.4](https://github.com/boto/s3transfer/releases/tag/0.3.4) | | [enthought/scimath](https://github.com/enthought/scimath) | 4.2.0 | [4.2.0](https://github.com/enthought/scimath/releases/tag/4.2.0) | diff --git a/content/admin/overview/about-upgrades-to-new-releases.md b/content/admin/overview/about-upgrades-to-new-releases.md index 66bbaa6a4e57..7022d4beae09 100644 --- a/content/admin/overview/about-upgrades-to-new-releases.md +++ b/content/admin/overview/about-upgrades-to-new-releases.md @@ -45,5 +45,5 @@ To upgrade your enterprise to a new release, see "[AUTOTITLE](/enterprise-server ## Further reading - [ {% data variables.product.prodname_roadmap %} ]( {% data variables.product.prodname_roadmap_link %} ) in the `github/roadmap` repository{% ifversion ghae %} -- [ {% data variables.product.prodname_ghe_managed %} release notes](/admin/release-notes) +- [{% data variables.product.prodname_ghe_managed %} release notes](/admin/release-notes) {% endif %} diff --git a/content/education/guides.md b/content/education/guides.md index ecf3e55a266c..db6dac2a2862 100644 --- a/content/education/guides.md +++ b/content/education/guides.md @@ -12,7 +12,7 @@ shortTitle: Guides Teachers, students, and researchers can use tools from {% data variables.product.product_name %} to enrich a software development curriculum and develop real-world collaboration skills. - [Sign up for a new {% data variables.product.prodname_dotcom %} account](/get-started/signing-up-for-github/signing-up-for-a-new-github-account) -- [Git and {% data variables.product.prodname_dotcom %} quickstart ](/get-started/quickstart) +- [Git and {% data variables.product.prodname_dotcom %} quickstart](/get-started/quickstart) - [About {% data variables.product.prodname_global_campus %} for students](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/about-github-global-campus-for-students) - [Apply to {% data variables.product.prodname_global_campus %} as a teacher](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-teachers/apply-to-github-global-campus-as-a-teacher) - [Apply to {% data variables.product.prodname_global_campus %} as a student](/education/explore-the-benefits-of-teaching-and-learning-with-github-education/github-global-campus-for-students/apply-to-github-global-campus-as-a-student) From 3653454f3dc5d0d865e9a759f8884d8d6ac9fd63 Mon Sep 17 00:00:00 2001 From: Octomerger Bot <63058869+Octomerger@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:37:56 -0400 Subject: [PATCH 2/2] GraphQL schema update (#37413) Co-authored-by: rachmari --- data/graphql/ghae/schema.docs-ghae.graphql | 76 ++++++++++++++---- data/graphql/ghec/schema.docs.graphql | 76 ++++++++++++++---- data/graphql/schema.docs.graphql | 76 ++++++++++++++---- src/graphql/data/fpt/changelog.json | 16 ++++ src/graphql/data/fpt/schema.json | 90 ++++++++++++++++++---- src/graphql/data/ghae/schema.json | 90 ++++++++++++++++++---- src/graphql/data/ghec/schema.json | 90 ++++++++++++++++++---- 7 files changed, 412 insertions(+), 102 deletions(-) diff --git a/data/graphql/ghae/schema.docs-ghae.graphql b/data/graphql/ghae/schema.docs-ghae.graphql index 3e06aafe8eba..457e013741d1 100644 --- a/data/graphql/ghae/schema.docs-ghae.graphql +++ b/data/graphql/ghae/schema.docs-ghae.graphql @@ -24130,6 +24130,16 @@ 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. """ @@ -27954,7 +27964,7 @@ enum PullRequestOrderField { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { """ @@ -27984,7 +27994,7 @@ type PullRequestParameters { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { """ @@ -35210,6 +35220,16 @@ 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! + ): RepositoryRuleset + """ A list of rulesets for this repository. """ @@ -36646,42 +36666,46 @@ enum RepositoryRuleType { COMMIT_MESSAGE_PATTERN """ - Creation + Only allow users with bypass permission to create matching refs. """ CREATION """ - Deletion + Only allow users with bypass permissions to delete matching refs. """ DELETION """ - Non fast forward + Prevent users with push access from force pushing to branches. """ NON_FAST_FORWARD """ - Pull request + Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ PULL_REQUEST """ - Required deployments + Choose which environments must be successfully deployed to before branches can + be merged into a branch that matches this rule. """ REQUIRED_DEPLOYMENTS """ - Required linear history + Prevent merge commits from being pushed to matching branches. """ REQUIRED_LINEAR_HISTORY """ - Required signatures + Commits pushed to matching branches must have verified signatures. """ REQUIRED_SIGNATURES """ - Required status checks + 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 @@ -36691,7 +36715,7 @@ enum RepositoryRuleType { TAG_NAME_PATTERN """ - Update + Only allow users with bypass permission to update matching refs. """ UPDATE } @@ -36735,6 +36759,11 @@ type RepositoryRuleset implements Node { """ conditions: RepositoryRuleConditions! + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + """ Identifies the primary key from the database. """ @@ -36790,6 +36819,11 @@ type RepositoryRuleset implements Node { Target of the ruleset. """ target: RepositoryRulesetTarget + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! } """ @@ -37479,7 +37513,8 @@ interface RequirableByPullRequest { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ type RequiredDeploymentsParameters { """ @@ -37489,7 +37524,8 @@ type RequiredDeploymentsParameters { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ input RequiredDeploymentsParametersInput { """ @@ -37531,7 +37567,10 @@ input RequiredStatusCheckInput { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -37548,7 +37587,10 @@ type RequiredStatusChecksParameters { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -44344,7 +44386,7 @@ type UpdateOrganizationWebCommitSignoffSettingPayload { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ type UpdateParameters { """ @@ -44354,7 +44396,7 @@ type UpdateParameters { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ input UpdateParametersInput { """ diff --git a/data/graphql/ghec/schema.docs.graphql b/data/graphql/ghec/schema.docs.graphql index 46ee4b855ec0..2542d9fc275d 100644 --- a/data/graphql/ghec/schema.docs.graphql +++ b/data/graphql/ghec/schema.docs.graphql @@ -27605,6 +27605,16 @@ 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. """ @@ -34736,7 +34746,7 @@ enum PullRequestOrderField { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { """ @@ -34766,7 +34776,7 @@ type PullRequestParameters { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { """ @@ -42571,6 +42581,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ resourcePath: URI! + """ + Returns a single ruleset from the current repository by ID. + """ + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! + ): RepositoryRuleset + """ A list of rulesets for this repository. """ @@ -44097,42 +44117,46 @@ enum RepositoryRuleType { COMMIT_MESSAGE_PATTERN """ - Creation + Only allow users with bypass permission to create matching refs. """ CREATION """ - Deletion + Only allow users with bypass permissions to delete matching refs. """ DELETION """ - Non fast forward + Prevent users with push access from force pushing to branches. """ NON_FAST_FORWARD """ - Pull request + Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ PULL_REQUEST """ - Required deployments + Choose which environments must be successfully deployed to before branches can + be merged into a branch that matches this rule. """ REQUIRED_DEPLOYMENTS """ - Required linear history + Prevent merge commits from being pushed to matching branches. """ REQUIRED_LINEAR_HISTORY """ - Required signatures + Commits pushed to matching branches must have verified signatures. """ REQUIRED_SIGNATURES """ - Required status checks + 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 @@ -44142,7 +44166,7 @@ enum RepositoryRuleType { TAG_NAME_PATTERN """ - Update + Only allow users with bypass permission to update matching refs. """ UPDATE } @@ -44186,6 +44210,11 @@ type RepositoryRuleset implements Node { """ conditions: RepositoryRuleConditions! + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + """ Identifies the primary key from the database. """ @@ -44241,6 +44270,11 @@ type RepositoryRuleset implements Node { Target of the ruleset. """ target: RepositoryRulesetTarget + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! } """ @@ -44970,7 +45004,8 @@ interface RequirableByPullRequest { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ type RequiredDeploymentsParameters { """ @@ -44980,7 +45015,8 @@ type RequiredDeploymentsParameters { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ input RequiredDeploymentsParametersInput { """ @@ -45022,7 +45058,10 @@ input RequiredStatusCheckInput { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -45039,7 +45078,10 @@ type RequiredStatusChecksParameters { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -55147,7 +55189,7 @@ type UpdateOrganizationWebCommitSignoffSettingPayload { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ type UpdateParameters { """ @@ -55157,7 +55199,7 @@ type UpdateParameters { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ input UpdateParametersInput { """ diff --git a/data/graphql/schema.docs.graphql b/data/graphql/schema.docs.graphql index 46ee4b855ec0..2542d9fc275d 100644 --- a/data/graphql/schema.docs.graphql +++ b/data/graphql/schema.docs.graphql @@ -27605,6 +27605,16 @@ 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. """ @@ -34736,7 +34746,7 @@ enum PullRequestOrderField { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ type PullRequestParameters { """ @@ -34766,7 +34776,7 @@ type PullRequestParameters { } """ -Parameters to be used for the pull_request rule +Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ input PullRequestParametersInput { """ @@ -42571,6 +42581,16 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent """ resourcePath: URI! + """ + Returns a single ruleset from the current repository by ID. + """ + ruleset( + """ + The ID of the ruleset to be returned. + """ + databaseId: Int! + ): RepositoryRuleset + """ A list of rulesets for this repository. """ @@ -44097,42 +44117,46 @@ enum RepositoryRuleType { COMMIT_MESSAGE_PATTERN """ - Creation + Only allow users with bypass permission to create matching refs. """ CREATION """ - Deletion + Only allow users with bypass permissions to delete matching refs. """ DELETION """ - Non fast forward + Prevent users with push access from force pushing to branches. """ NON_FAST_FORWARD """ - Pull request + Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. """ PULL_REQUEST """ - Required deployments + Choose which environments must be successfully deployed to before branches can + be merged into a branch that matches this rule. """ REQUIRED_DEPLOYMENTS """ - Required linear history + Prevent merge commits from being pushed to matching branches. """ REQUIRED_LINEAR_HISTORY """ - Required signatures + Commits pushed to matching branches must have verified signatures. """ REQUIRED_SIGNATURES """ - Required status checks + 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 @@ -44142,7 +44166,7 @@ enum RepositoryRuleType { TAG_NAME_PATTERN """ - Update + Only allow users with bypass permission to update matching refs. """ UPDATE } @@ -44186,6 +44210,11 @@ type RepositoryRuleset implements Node { """ conditions: RepositoryRuleConditions! + """ + Identifies the date and time when the object was created. + """ + createdAt: DateTime! + """ Identifies the primary key from the database. """ @@ -44241,6 +44270,11 @@ type RepositoryRuleset implements Node { Target of the ruleset. """ target: RepositoryRulesetTarget + + """ + Identifies the date and time when the object was last updated. + """ + updatedAt: DateTime! } """ @@ -44970,7 +45004,8 @@ interface RequirableByPullRequest { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ type RequiredDeploymentsParameters { """ @@ -44980,7 +45015,8 @@ type RequiredDeploymentsParameters { } """ -Parameters to be used for the required_deployments rule +Choose which environments must be successfully deployed to before branches can +be merged into a branch that matches this rule. """ input RequiredDeploymentsParametersInput { """ @@ -45022,7 +45058,10 @@ input RequiredStatusCheckInput { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -45039,7 +45078,10 @@ type RequiredStatusChecksParameters { } """ -Parameters to be used for the required_status_checks rule +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 { """ @@ -55147,7 +55189,7 @@ type UpdateOrganizationWebCommitSignoffSettingPayload { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ type UpdateParameters { """ @@ -55157,7 +55199,7 @@ type UpdateParameters { } """ -Parameters to be used for the update rule +Only allow users with bypass permission to update matching refs. """ input UpdateParametersInput { """ diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 220cacd620a2..a4377ea3392b 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,20 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Field ruleset was added to object type Organization

", + "

Field ruleset was added to object type Repository

", + "

Field createdAt was added to object type RepositoryRuleset

", + "

Field updatedAt was added to object type RepositoryRuleset

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2023-06-01" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index d838ec038a17..ca1e1ada24a5 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -38816,6 +38816,26 @@ "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.

", @@ -48664,7 +48684,7 @@ "kind": "objects", "id": "pullrequestparameters", "href": "/graphql/reference/objects#pullrequestparameters", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -59112,6 +59132,26 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "ruleset", + "description": "

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": "rulesets", "description": "

A list of rulesets for this repository.

", @@ -60469,6 +60509,14 @@ "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.

", @@ -60568,6 +60616,14 @@ "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" } ] }, @@ -61522,7 +61578,7 @@ "kind": "objects", "id": "requireddeploymentsparameters", "href": "/graphql/reference/objects#requireddeploymentsparameters", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "fields": [ { "name": "requiredDeploymentEnvironments", @@ -61564,7 +61620,7 @@ "kind": "objects", "id": "requiredstatuschecksparameters", "href": "/graphql/reference/objects#requiredstatuschecksparameters", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -69652,7 +69708,7 @@ "kind": "objects", "id": "updateparameters", "href": "/graphql/reference/objects#updateparameters", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "fields": [ { "name": "updateAllowsFetchAndMerge", @@ -81287,35 +81343,35 @@ }, { "name": "CREATION", - "description": "

Creation.

" + "description": "

Only allow users with bypass permission to create matching refs.

" }, { "name": "DELETION", - "description": "

Deletion.

" + "description": "

Only allow users with bypass permissions to delete matching refs.

" }, { "name": "NON_FAST_FORWARD", - "description": "

Non fast forward.

" + "description": "

Prevent users with push access from force pushing to branches.

" }, { "name": "PULL_REQUEST", - "description": "

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": "

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": "

Required linear history.

" + "description": "

Prevent merge commits from being pushed to matching branches.

" }, { "name": "REQUIRED_SIGNATURES", - "description": "

Required signatures.

" + "description": "

Commits pushed to matching branches must have verified signatures.

" }, { "name": "REQUIRED_STATUS_CHECKS", - "description": "

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", @@ -81323,7 +81379,7 @@ }, { "name": "UPDATE", - "description": "

Update.

" + "description": "

Only allow users with bypass permission to update matching refs.

" } ] }, @@ -92376,7 +92432,7 @@ "kind": "inputObjects", "id": "pullrequestparametersinput", "href": "/graphql/reference/input-objects#pullrequestparametersinput", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -93328,7 +93384,7 @@ "kind": "inputObjects", "id": "requireddeploymentsparametersinput", "href": "/graphql/reference/input-objects#requireddeploymentsparametersinput", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "inputFields": [ { "name": "requiredDeploymentEnvironments", @@ -93370,7 +93426,7 @@ "kind": "inputObjects", "id": "requiredstatuschecksparametersinput", "href": "/graphql/reference/input-objects#requiredstatuschecksparametersinput", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -96632,7 +96688,7 @@ "kind": "inputObjects", "id": "updateparametersinput", "href": "/graphql/reference/input-objects#updateparametersinput", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "inputFields": [ { "name": "updateAllowsFetchAndMerge", diff --git a/src/graphql/data/ghae/schema.json b/src/graphql/data/ghae/schema.json index 98d9d2496e41..b6dd74471a71 100644 --- a/src/graphql/data/ghae/schema.json +++ b/src/graphql/data/ghae/schema.json @@ -34007,6 +34007,26 @@ "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.

", @@ -39379,7 +39399,7 @@ "kind": "objects", "id": "pullrequestparameters", "href": "/graphql/reference/objects#pullrequestparameters", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -49487,6 +49507,26 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "ruleset", + "description": "

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": "rulesets", "description": "

A list of rulesets for this repository.

", @@ -50811,6 +50851,14 @@ "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.

", @@ -50910,6 +50958,14 @@ "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" } ] }, @@ -51798,7 +51854,7 @@ "kind": "objects", "id": "requireddeploymentsparameters", "href": "/graphql/reference/objects#requireddeploymentsparameters", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "fields": [ { "name": "requiredDeploymentEnvironments", @@ -51840,7 +51896,7 @@ "kind": "objects", "id": "requiredstatuschecksparameters", "href": "/graphql/reference/objects#requiredstatuschecksparameters", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -58497,7 +58553,7 @@ "kind": "objects", "id": "updateparameters", "href": "/graphql/reference/objects#updateparameters", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "fields": [ { "name": "updateAllowsFetchAndMerge", @@ -67392,35 +67448,35 @@ }, { "name": "CREATION", - "description": "

Creation.

" + "description": "

Only allow users with bypass permission to create matching refs.

" }, { "name": "DELETION", - "description": "

Deletion.

" + "description": "

Only allow users with bypass permissions to delete matching refs.

" }, { "name": "NON_FAST_FORWARD", - "description": "

Non fast forward.

" + "description": "

Prevent users with push access from force pushing to branches.

" }, { "name": "PULL_REQUEST", - "description": "

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": "

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": "

Required linear history.

" + "description": "

Prevent merge commits from being pushed to matching branches.

" }, { "name": "REQUIRED_SIGNATURES", - "description": "

Required signatures.

" + "description": "

Commits pushed to matching branches must have verified signatures.

" }, { "name": "REQUIRED_STATUS_CHECKS", - "description": "

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", @@ -67428,7 +67484,7 @@ }, { "name": "UPDATE", - "description": "

Update.

" + "description": "

Only allow users with bypass permission to update matching refs.

" } ] }, @@ -75299,7 +75355,7 @@ "kind": "inputObjects", "id": "pullrequestparametersinput", "href": "/graphql/reference/input-objects#pullrequestparametersinput", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -76069,7 +76125,7 @@ "kind": "inputObjects", "id": "requireddeploymentsparametersinput", "href": "/graphql/reference/input-objects#requireddeploymentsparametersinput", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "inputFields": [ { "name": "requiredDeploymentEnvironments", @@ -76111,7 +76167,7 @@ "kind": "inputObjects", "id": "requiredstatuschecksparametersinput", "href": "/graphql/reference/input-objects#requiredstatuschecksparametersinput", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -78664,7 +78720,7 @@ "kind": "inputObjects", "id": "updateparametersinput", "href": "/graphql/reference/input-objects#updateparametersinput", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "inputFields": [ { "name": "updateAllowsFetchAndMerge", diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index d838ec038a17..ca1e1ada24a5 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -38816,6 +38816,26 @@ "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.

", @@ -48664,7 +48684,7 @@ "kind": "objects", "id": "pullrequestparameters", "href": "/graphql/reference/objects#pullrequestparameters", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -59112,6 +59132,26 @@ "kind": "scalars", "href": "/graphql/reference/scalars#uri" }, + { + "name": "ruleset", + "description": "

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": "rulesets", "description": "

A list of rulesets for this repository.

", @@ -60469,6 +60509,14 @@ "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.

", @@ -60568,6 +60616,14 @@ "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" } ] }, @@ -61522,7 +61578,7 @@ "kind": "objects", "id": "requireddeploymentsparameters", "href": "/graphql/reference/objects#requireddeploymentsparameters", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "fields": [ { "name": "requiredDeploymentEnvironments", @@ -61564,7 +61620,7 @@ "kind": "objects", "id": "requiredstatuschecksparameters", "href": "/graphql/reference/objects#requiredstatuschecksparameters", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -69652,7 +69708,7 @@ "kind": "objects", "id": "updateparameters", "href": "/graphql/reference/objects#updateparameters", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "fields": [ { "name": "updateAllowsFetchAndMerge", @@ -81287,35 +81343,35 @@ }, { "name": "CREATION", - "description": "

Creation.

" + "description": "

Only allow users with bypass permission to create matching refs.

" }, { "name": "DELETION", - "description": "

Deletion.

" + "description": "

Only allow users with bypass permissions to delete matching refs.

" }, { "name": "NON_FAST_FORWARD", - "description": "

Non fast forward.

" + "description": "

Prevent users with push access from force pushing to branches.

" }, { "name": "PULL_REQUEST", - "description": "

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": "

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": "

Required linear history.

" + "description": "

Prevent merge commits from being pushed to matching branches.

" }, { "name": "REQUIRED_SIGNATURES", - "description": "

Required signatures.

" + "description": "

Commits pushed to matching branches must have verified signatures.

" }, { "name": "REQUIRED_STATUS_CHECKS", - "description": "

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", @@ -81323,7 +81379,7 @@ }, { "name": "UPDATE", - "description": "

Update.

" + "description": "

Only allow users with bypass permission to update matching refs.

" } ] }, @@ -92376,7 +92432,7 @@ "kind": "inputObjects", "id": "pullrequestparametersinput", "href": "/graphql/reference/input-objects#pullrequestparametersinput", - "description": "

Parameters to be used for the pull_request rule.

", + "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", @@ -93328,7 +93384,7 @@ "kind": "inputObjects", "id": "requireddeploymentsparametersinput", "href": "/graphql/reference/input-objects#requireddeploymentsparametersinput", - "description": "

Parameters to be used for the required_deployments rule.

", + "description": "

Choose which environments must be successfully deployed to before branches can\nbe merged into a branch that matches this rule.

", "inputFields": [ { "name": "requiredDeploymentEnvironments", @@ -93370,7 +93426,7 @@ "kind": "inputObjects", "id": "requiredstatuschecksparametersinput", "href": "/graphql/reference/input-objects#requiredstatuschecksparametersinput", - "description": "

Parameters to be used for the required_status_checks rule.

", + "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", @@ -96632,7 +96688,7 @@ "kind": "inputObjects", "id": "updateparametersinput", "href": "/graphql/reference/input-objects#updateparametersinput", - "description": "

Parameters to be used for the update rule.

", + "description": "

Only allow users with bypass permission to update matching refs.

", "inputFields": [ { "name": "updateAllowsFetchAndMerge",