diff --git a/docs/codeScanning/deleteAnalysis.md b/docs/codeScanning/deleteAnalysis.md index a5a8cea80..2d586fbc0 100644 --- a/docs/codeScanning/deleteAnalysis.md +++ b/docs/codeScanning/deleteAnalysis.md @@ -67,7 +67,6 @@ The procedure therefore consists of a nested loop: - Parse this list to find a deletable analysis. If found: **Inner loop**: - - Delete the identified analysis. - Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration. diff --git a/docs/codeScanning/listRecentAnalyses.md b/docs/codeScanning/listRecentAnalyses.md index f3fdd279f..f2ad9abb4 100644 --- a/docs/codeScanning/listRecentAnalyses.md +++ b/docs/codeScanning/listRecentAnalyses.md @@ -19,7 +19,8 @@ that were run in the analysis. For very old analyses this data is not available, and `0` is returned in this field. -> [!WARNING] > **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. +> [!WARNING] +> **Closing down notice:** The `tool_name` field is closing down and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field. OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. diff --git a/docs/codeSecurity/createConfiguration.md b/docs/codeSecurity/createConfiguration.md index e6759ed6f..dafc4f5d6 100644 --- a/docs/codeSecurity/createConfiguration.md +++ b/docs/codeSecurity/createConfiguration.md @@ -54,7 +54,8 @@ A description of the code security configuration The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features. -> [!WARNING] > `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. +> [!WARNING] +> `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. code_securityno diff --git a/docs/codeSecurity/createConfigurationForEnterprise.md b/docs/codeSecurity/createConfigurationForEnterprise.md index 501721f07..62e9f1a1b 100644 --- a/docs/codeSecurity/createConfigurationForEnterprise.md +++ b/docs/codeSecurity/createConfigurationForEnterprise.md @@ -52,7 +52,8 @@ A description of the code security configuration The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features. -> [!WARNING] > `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. +> [!WARNING] +> `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. code_securityno diff --git a/docs/codeSecurity/updateConfiguration.md b/docs/codeSecurity/updateConfiguration.md index b3bfef861..6820091c2 100644 --- a/docs/codeSecurity/updateConfiguration.md +++ b/docs/codeSecurity/updateConfiguration.md @@ -58,7 +58,8 @@ A description of the code security configuration The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features. -> [!WARNING] > `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. +> [!WARNING] +> `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. code_securityno diff --git a/docs/codeSecurity/updateEnterpriseConfiguration.md b/docs/codeSecurity/updateEnterpriseConfiguration.md index bc1888e49..099bd4450 100644 --- a/docs/codeSecurity/updateEnterpriseConfiguration.md +++ b/docs/codeSecurity/updateEnterpriseConfiguration.md @@ -56,7 +56,8 @@ A description of the code security configuration The enablement status of GitHub Advanced Security features. `enabled` will enable both Code Security and Secret Protection features. -> [!WARNING] > `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. +> [!WARNING] +> `code_security` and `secret_protection` are deprecated values for this field. Prefer the individual `code_security` and `secret_protection` fields to set the status of these features. code_securityno diff --git a/docs/orgs/addSecurityManagerTeam.md b/docs/orgs/addSecurityManagerTeam.md index f495be19a..20453d32f 100644 --- a/docs/orgs/addSecurityManagerTeam.md +++ b/docs/orgs/addSecurityManagerTeam.md @@ -10,7 +10,8 @@ type: API method **This method is deprecated.** -> [!WARNING] > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. +> [!WARNING] +> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. ```js octokit.rest.orgs.addSecurityManagerTeam({ diff --git a/docs/orgs/listSecurityManagerTeams.md b/docs/orgs/listSecurityManagerTeams.md index 3b8557e94..9d10085b5 100644 --- a/docs/orgs/listSecurityManagerTeams.md +++ b/docs/orgs/listSecurityManagerTeams.md @@ -10,7 +10,8 @@ type: API method **This method is deprecated.** -> [!WARNING] > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. +> [!WARNING] +> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. ```js octokit.rest.orgs.listSecurityManagerTeams({ diff --git a/docs/orgs/removeSecurityManagerTeam.md b/docs/orgs/removeSecurityManagerTeam.md index c5709bb53..0c0e0780c 100644 --- a/docs/orgs/removeSecurityManagerTeam.md +++ b/docs/orgs/removeSecurityManagerTeam.md @@ -10,7 +10,8 @@ type: API method **This method is deprecated.** -> [!WARNING] > **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. +> [!WARNING] +> **Closing down notice:** This operation is closing down and will be removed starting January 1, 2026. Please use the "[Organization Roles](https://docs.github.com/rest/orgs/organization-roles)" endpoints instead. ```js octokit.rest.orgs.removeSecurityManagerTeam({ diff --git a/docs/orgs/update.md b/docs/orgs/update.md index a5cb9b77e..8f9ea9ab5 100644 --- a/docs/orgs/update.md +++ b/docs/orgs/update.md @@ -8,9 +8,11 @@ type: API method # Update an organization -> [!WARNING] > **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). +> [!WARNING] +> **Closing down notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes). -> [!WARNING] > **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). +> [!WARNING] +> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/). Updates the organization's profile and member privileges. diff --git a/docs/search/issuesAndPullRequests.md b/docs/search/issuesAndPullRequests.md index 6741392c8..896a4cfaa 100644 --- a/docs/search/issuesAndPullRequests.md +++ b/docs/search/issuesAndPullRequests.md @@ -10,7 +10,8 @@ type: API method **This method is deprecated.** -> [!WARNING] > **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. +> [!WARNING] +> **Notice:** Search for issues and pull requests will be overridden by advanced search on November 4, 2025. > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). ```js diff --git a/package-lock.json b/package-lock.json index ebc7b044f..9302a8946 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^15.0.0" + "@octokit/types": "^15.0.1" }, "devDependencies": { "@octokit/core": "^7.0.0", @@ -868,9 +868,9 @@ "license": "MIT" }, "node_modules/@octokit/types": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-15.0.0.tgz", - "integrity": "sha512-8o6yDfmoGJUIeR9OfYU0/TUJTnMPG2r68+1yEdUeG2Fdqpj8Qetg0ziKIgcBm0RW/j29H41WP37CYCEhp6GoHQ==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-15.0.1.tgz", + "integrity": "sha512-sdiirM93IYJ9ODDCBgmRPIboLbSkpLa5i+WLuXH8b8Atg+YMLAyLvDDhNWLV4OYd08tlvYfVm/dw88cqHWtw1Q==", "license": "MIT", "dependencies": { "@octokit/openapi-types": "^26.0.0" diff --git a/package.json b/package.json index 8e4b69634..ea49dd2be 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^15.0.0" + "@octokit/types": "^15.0.1" }, "devDependencies": { "@octokit/core": "^7.0.0",