1
0
mirror of synced 2026-01-04 09:06:46 -05:00

Merge pull request #25894 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2023-06-09 09:06:01 -04:00
committed by GitHub
14 changed files with 364 additions and 15 deletions

View File

@@ -57,7 +57,12 @@ export default function rewriteLocalLinks(context) {
if (child.value) {
if (AUTOTITLE.test(child.value)) {
nodes.push({ href: node.properties.href, child })
} else if (process.env.NODE_ENV !== 'production') {
} else if (
// This means CI and local dev
process.env.NODE_ENV !== 'production' &&
// But only raise this (in CI or local dev) if it's English
currentLanguage === 'en'
) {
// Throw if the link text *almost* is AUTOTITLE
if (
child.value.toUpperCase() === 'AUTOTITLE' ||

View File

@@ -7,5 +7,5 @@
"2022-11-28"
]
},
"sha": "193ad6ccce0fb307bcfd5c7a656854253c227a45"
"sha": "fab4bfd6f7c4235a5357b09c0d37bb74f8a5d57d"
}

View File

@@ -46,10 +46,16 @@ export default function handleInvalidQuerystrings(req, res, next) {
}
}
if (keys.length >= MAX_UNFAMILIAR_KEYS_BAD_REQUEST) {
// If you fill out the Survey form with all the fields and somehow
// don't attempt to make a POST request, you'll end up with a query
// string like this.
const honeypotted = 'survey-token' in query && 'survey-vote' in query
if (keys.length >= MAX_UNFAMILIAR_KEYS_BAD_REQUEST || honeypotted) {
noCacheControl(res)
res.status(400).send('Too many unrecognized query string parameters')
const message = honeypotted ? 'Honeypotted' : 'Too many unrecognized query string parameters'
res.status(400).send(message)
const tags = [
'response:400',

View File

@@ -357581,7 +357581,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
@@ -367856,6 +367856,16 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -367865,6 +367875,16 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQQ",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/432"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/432"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
}
@@ -367965,6 +367985,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -369253,6 +369282,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -369289,6 +369319,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -369386,6 +369425,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -370048,6 +370096,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -370084,6 +370133,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -370181,6 +370239,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -371476,6 +371543,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -371512,6 +371580,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -371609,6 +371686,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -487734,6 +487820,16 @@
"source_type": "Repository",
"source": "monalisa/my-repo",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -487743,6 +487839,16 @@
"source_type": "Repository",
"source": "monalisa/my-repo",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQQ",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/314"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/314"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
}
@@ -487843,6 +487949,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -489199,6 +489314,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -489296,6 +489420,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -490004,6 +490137,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -490101,6 +490243,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -491464,6 +491615,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -491561,6 +491721,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},

View File

@@ -259299,7 +259299,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub AE will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub AE will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -371124,7 +371124,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Cloud will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Cloud will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",
@@ -384926,6 +384926,16 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -384935,6 +384945,16 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQQ",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/432"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/432"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
}
@@ -385035,6 +385055,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -386323,6 +386352,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -386359,6 +386389,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -386456,6 +386495,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -387118,6 +387166,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -387154,6 +387203,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -387251,6 +387309,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -388546,6 +388613,7 @@
"source_type": "Organization",
"source": "my-org",
"enforcement": "active",
"bypass_mode": "repository",
"bypass_actors": [
{
"actor_id": 234,
@@ -388582,6 +388650,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/orgs/my-org/rulesets/21"
},
"html": {
"href": "https://github.com/organizations/my-org/settings/rules/21"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
},
@@ -388679,6 +388756,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -504811,6 +504897,16 @@
"source_type": "Repository",
"source": "monalisa/my-repo",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -504820,6 +504916,16 @@
"source_type": "Repository",
"source": "monalisa/my-repo",
"enforcement": "enabled",
"bypass_mode": "repository",
"node_id": "RRS_lACkVXNlcgQQ",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/314"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/314"
}
},
"created_at": "2023-08-15T08:43:03Z",
"updated_at": "2023-09-23T16:29:47Z"
}
@@ -504920,6 +505026,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -506276,6 +506391,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -506373,6 +506497,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -507081,6 +507214,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -507178,6 +507320,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},
@@ -508541,6 +508692,15 @@
}
}
],
"node_id": "RRS_lACkVXNlcgQB",
"_links": {
"self": {
"href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42"
},
"html": {
"href": "https://github.com/monalisa/my-repo/rules/42"
}
},
"created_at": "2023-07-15T08:43:03Z",
"updated_at": "2023-08-23T16:29:47Z"
},
@@ -508638,6 +508798,15 @@
"description": "The URL of the ruleset"
}
}
},
"html": {
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The html URL of the ruleset"
}
}
}
}
},

View File

@@ -298752,7 +298752,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -306045,7 +306045,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -315807,7 +315807,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -318912,7 +318912,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -340096,7 +340096,7 @@
}
],
"previews": [],
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope to update the organization's profile and member privileges.</p>",
"descriptionHTML": "<p><strong>Parameter Deprecation Notice:</strong> GitHub Enterprise Server will replace and discontinue <code>members_allowed_repository_creation_type</code> in favor of more granular permissions. The new input parameters are <code>members_can_create_public_repositories</code>, <code>members_can_create_private_repositories</code> for all organizations and <code>members_can_create_internal_repositories</code> for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the <a href=\"https://developer.github.com/changes/2019-12-03-internal-visibility-changes\">blog post</a>.</p>\n<p>Enables an authenticated organization owner with the <code>admin:org</code> scope or the <code>repo</code> scope to update the organization's profile and member privileges.</p>",
"statusCodes": [
{
"httpStatusCode": "200",

View File

@@ -33,5 +33,5 @@
]
}
},
"sha": "193ad6ccce0fb307bcfd5c7a656854253c227a45"
"sha": "fab4bfd6f7c4235a5357b09c0d37bb74f8a5d57d"
}

View File

@@ -1,3 +1,3 @@
{
"sha": "193ad6ccce0fb307bcfd5c7a656854253c227a45"
"sha": "fab4bfd6f7c4235a5357b09c0d37bb74f8a5d57d"
}

View File

@@ -110,7 +110,7 @@ describe('release notes', () => {
}
test.each(getReleaseNotesVersionCombinations(langs))(
'latest release notes',
'latest release notes in %s for %s',
async (lang, version) => {
const url = `/${lang}/${version}/admin/release-notes`
const res = await get(url)