Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion docs/codeScanning/deleteAnalysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion docs/codeScanning/listRecentAnalyses.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion docs/codeSecurity/createConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</td></tr>
<tr><td>code_security</td><td>no</td><td>
Expand Down
3 changes: 2 additions & 1 deletion docs/codeSecurity/createConfigurationForEnterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</td></tr>
<tr><td>code_security</td><td>no</td><td>
Expand Down
3 changes: 2 additions & 1 deletion docs/codeSecurity/updateConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</td></tr>
<tr><td>code_security</td><td>no</td><td>
Expand Down
3 changes: 2 additions & 1 deletion docs/codeSecurity/updateEnterpriseConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</td></tr>
<tr><td>code_security</td><td>no</td><td>
Expand Down
3 changes: 2 additions & 1 deletion docs/orgs/addSecurityManagerTeam.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
3 changes: 2 additions & 1 deletion docs/orgs/listSecurityManagerTeams.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
3 changes: 2 additions & 1 deletion docs/orgs/removeSecurityManagerTeam.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
6 changes: 4 additions & 2 deletions docs/orgs/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion docs/search/issuesAndPullRequests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down