@octokit/openapi 13.0.0 → 13.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "13.0.0",
4
+ "version": "13.2.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -4431,7 +4431,7 @@
4431
4431
  },
4432
4432
  "post": {
4433
4433
  "summary": "Create a new authorization",
4434
- "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.9/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.9/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/enterprise-server@3.9/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. Read more about allowing tokens in [the GitHub Help documentation](https://docs.github.com/enterprise-server@3.9/articles/about-identity-and-access-management-with-saml-single-sign-on).",
4434
+ "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://docs.github.com/enterprise-server@3.9/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.9/rest/oauth-authorizations/oauth-authorizations) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).\n\n**Warning:** Apps must use the [web application flow](https://docs.github.com/enterprise-server@3.9/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow) to obtain OAuth tokens that work with GitHub Enterprise Server SAML organizations. OAuth tokens created using the Authorizations API will be unable to access GitHub Enterprise Server SAML organizations. For more information, see the [blog post](https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api).\n\nCreates OAuth tokens using [Basic Authentication](https://docs.github.com/enterprise-server@3.9/rest/overview/other-authentication-methods#basic-authentication). If you have two-factor authentication setup, Basic Authentication for this endpoint requires that you use a one-time password (OTP) and your username and password instead of tokens. For more information, see \"[Working with two-factor authentication](https://docs.github.com/enterprise-server@3.9/rest/overview/other-authentication-methods#working-with-two-factor-authentication).\"\n\nTo create tokens for a particular OAuth application using this endpoint, you must authenticate as the user you want to create an authorization for and provide the app's client ID and secret, found on your OAuth application's settings page. If your OAuth application intends to create multiple tokens for one user, use `fingerprint` to differentiate between them.\n\nYou can also create tokens on GitHub Enterprise Server from the [personal access tokens settings](https://github.com/settings/tokens) page. Read more about these tokens in [the GitHub Help documentation](https://docs.github.com/enterprise-server@3.9/articles/creating-an-access-token-for-command-line-use).\n\nOrganizations that enforce SAML SSO require personal access tokens to be allowed. For more information, see \"[About identity and access management with SAML single sign-on](https://docs.github.com/enterprise-server@3.9/enterprise-cloud@latest/organizations/managing-saml-single-sign-on-for-your-organization/about-identity-and-access-management-with-saml-single-sign-on)\" in the GitHub Enterprise Cloud documentation.",
4435
4435
  "tags": [
4436
4436
  "oauth-authorizations"
4437
4437
  ],
@@ -17348,7 +17348,7 @@
17348
17348
  },
17349
17349
  "post": {
17350
17350
  "summary": "Start an organization migration",
17351
- "description": "Initiates the generation of a migration archive.",
17351
+ "description": "Initiates the generation of a migration archive.\n\nBefore you can use this endpoint, you must configure a blob storage provider in the \"Migrations\" section in the Management Console. For more details, see \"[Migrating repositories from GitHub Enterprise Server to GitHub Enterprise Cloud](https://docs.github.com/enterprise-server@3.9/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud#step-4-set-up-blob-storage).\"",
17352
17352
  "tags": [
17353
17353
  "migrations"
17354
17354
  ],
@@ -17418,7 +17418,7 @@
17418
17418
  },
17419
17419
  "exclude": {
17420
17420
  "type": "array",
17421
- "description": "Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `\"repositories\"`.",
17421
+ "description": "Exclude related items from being returned in the response in order to improve performance of the request.",
17422
17422
  "items": {
17423
17423
  "type": "string",
17424
17424
  "enum": [
@@ -24566,7 +24566,7 @@
24566
24566
  "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": {
24567
24567
  "post": {
24568
24568
  "summary": "Re-run a job from a workflow run",
24569
- "description": "Re-run a job and its dependent jobs in a workflow run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:write` permission to use this endpoint.",
24569
+ "description": "Re-run a job and its dependent jobs in a workflow run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:write` permission to use this endpoint.",
24570
24570
  "tags": [
24571
24571
  "actions"
24572
24572
  ],
@@ -24857,7 +24857,7 @@
24857
24857
  "/repos/{owner}/{repo}/actions/organization-variables": {
24858
24858
  "get": {
24859
24859
  "summary": "List repository organization variables",
24860
- "description": "Lists all organiation variables shared with a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
24860
+ "description": "Lists all organiation variables shared with a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
24861
24861
  "tags": [
24862
24862
  "actions"
24863
24863
  ],
@@ -25330,7 +25330,7 @@
25330
25330
  "/repos/{owner}/{repo}/actions/runners": {
25331
25331
  "get": {
25332
25332
  "summary": "List self-hosted runners for a repository",
25333
- "description": "Lists all self-hosted runners configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25333
+ "description": "Lists all self-hosted runners configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25334
25334
  "tags": [
25335
25335
  "actions"
25336
25336
  ],
@@ -25402,7 +25402,7 @@
25402
25402
  "/repos/{owner}/{repo}/actions/runners/downloads": {
25403
25403
  "get": {
25404
25404
  "summary": "List runner applications for a repository",
25405
- "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25405
+ "description": "Lists binaries for the runner application that you can download and run.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25406
25406
  "tags": [
25407
25407
  "actions"
25408
25408
  ],
@@ -25451,7 +25451,7 @@
25451
25451
  "/repos/{owner}/{repo}/actions/runners/registration-token": {
25452
25452
  "post": {
25453
25453
  "summary": "Create a registration token for a repository",
25454
- "description": "Returns a token that you can pass to the `config` script. The token\nexpires after one hour.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.\n\nExample using registration token: \n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided\nby this endpoint.\n\n```config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN```",
25454
+ "description": "Returns a token that you can pass to the `config` script. The token\nexpires after one hour.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.\n\nExample using registration token:\n\nConfigure your self-hosted runner, replacing `TOKEN` with the registration token provided\nby this endpoint.\n\n```config.sh --url https://github.com/octo-org/octo-repo-artifacts --token TOKEN```",
25455
25455
  "tags": [
25456
25456
  "actions"
25457
25457
  ],
@@ -25497,7 +25497,7 @@
25497
25497
  "/repos/{owner}/{repo}/actions/runners/remove-token": {
25498
25498
  "post": {
25499
25499
  "summary": "Create a remove token for a repository",
25500
- "description": "Returns a token that you can pass to remove a self-hosted runner from\na repository. The token expires after one hour.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.\n\nExample using remove token:\n\nTo remove your self-hosted runner from a repository, replace TOKEN with\nthe remove token provided by this endpoint.\n\n```config.sh remove --token TOKEN```",
25500
+ "description": "Returns a token that you can pass to remove a self-hosted runner from\na repository. The token expires after one hour.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.\n\nExample using remove token:\n\nTo remove your self-hosted runner from a repository, replace TOKEN with\nthe remove token provided by this endpoint.\n\n```config.sh remove --token TOKEN```",
25501
25501
  "tags": [
25502
25502
  "actions"
25503
25503
  ],
@@ -25543,7 +25543,7 @@
25543
25543
  "/repos/{owner}/{repo}/actions/runners/{runner_id}": {
25544
25544
  "get": {
25545
25545
  "summary": "Get a self-hosted runner for a repository",
25546
- "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25546
+ "description": "Gets a specific self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25547
25547
  "tags": [
25548
25548
  "actions"
25549
25549
  ],
@@ -25590,7 +25590,7 @@
25590
25590
  },
25591
25591
  "delete": {
25592
25592
  "summary": "Delete a self-hosted runner from a repository",
25593
- "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25593
+ "description": "Forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25594
25594
  "tags": [
25595
25595
  "actions"
25596
25596
  ],
@@ -25627,7 +25627,7 @@
25627
25627
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels": {
25628
25628
  "get": {
25629
25629
  "summary": "List labels for a self-hosted runner for a repository",
25630
- "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25630
+ "description": "Lists all labels for a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25631
25631
  "tags": [
25632
25632
  "actions"
25633
25633
  ],
@@ -25665,7 +25665,7 @@
25665
25665
  },
25666
25666
  "post": {
25667
25667
  "summary": "Add custom labels to a self-hosted runner for a repository",
25668
- "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25668
+ "description": "Add custom labels to a self-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25669
25669
  "tags": [
25670
25670
  "actions"
25671
25671
  ],
@@ -25740,7 +25740,7 @@
25740
25740
  },
25741
25741
  "put": {
25742
25742
  "summary": "Set custom labels for a self-hosted runner for a repository",
25743
- "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25743
+ "description": "Remove all previous custom labels and set the new custom labels for a specific\nself-hosted runner configured in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25744
25744
  "tags": [
25745
25745
  "actions"
25746
25746
  ],
@@ -25815,7 +25815,7 @@
25815
25815
  },
25816
25816
  "delete": {
25817
25817
  "summary": "Remove all custom labels from a self-hosted runner for a repository",
25818
- "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25818
+ "description": "Remove all custom labels from a self-hosted runner configured in a\nrepository. Returns the remaining read-only labels from the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25819
25819
  "tags": [
25820
25820
  "actions"
25821
25821
  ],
@@ -25855,7 +25855,7 @@
25855
25855
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": {
25856
25856
  "delete": {
25857
25857
  "summary": "Remove a custom label from a self-hosted runner for a repository",
25858
- "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25858
+ "description": "Remove a custom label from a self-hosted runner configured\nin a repository. Returns the remaining labels from the runner.\n\nThis endpoint returns a `404 Not Found` status if the custom label is not\npresent on the runner.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.\nAuthenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.",
25859
25859
  "tags": [
25860
25860
  "actions"
25861
25861
  ],
@@ -26398,7 +26398,7 @@
26398
26398
  "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": {
26399
26399
  "post": {
26400
26400
  "summary": "Cancel a workflow run",
26401
- "description": "Cancels a workflow run using its `id`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions:write` permission to use this endpoint.",
26401
+ "description": "Cancels a workflow run using its `id`.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions:write` permission to use this endpoint.",
26402
26402
  "tags": [
26403
26403
  "actions"
26404
26404
  ],
@@ -27206,7 +27206,7 @@
27206
27206
  "/repos/{owner}/{repo}/actions/variables": {
27207
27207
  "get": {
27208
27208
  "summary": "List repository variables",
27209
- "description": "Lists all repository variables.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27209
+ "description": "Lists all repository variables.\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27210
27210
  "tags": [
27211
27211
  "actions"
27212
27212
  ],
@@ -27276,7 +27276,7 @@
27276
27276
  },
27277
27277
  "post": {
27278
27278
  "summary": "Create a repository variable",
27279
- "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27279
+ "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27280
27280
  "tags": [
27281
27281
  "actions"
27282
27282
  ],
@@ -27354,7 +27354,7 @@
27354
27354
  "/repos/{owner}/{repo}/actions/variables/{name}": {
27355
27355
  "get": {
27356
27356
  "summary": "Get a repository variable",
27357
- "description": "Gets a specific variable in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27357
+ "description": "Gets a specific variable in a repository.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27358
27358
  "tags": [
27359
27359
  "actions"
27360
27360
  ],
@@ -27401,7 +27401,7 @@
27401
27401
  },
27402
27402
  "patch": {
27403
27403
  "summary": "Update a repository variable",
27404
- "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27404
+ "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27405
27405
  "tags": [
27406
27406
  "actions"
27407
27407
  ],
@@ -27464,7 +27464,7 @@
27464
27464
  },
27465
27465
  "delete": {
27466
27466
  "summary": "Delete a repository variable",
27467
- "description": "Deletes a repository variable using the variable name.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27467
+ "description": "Deletes a repository variable using the variable name.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `actions_variables:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
27468
27468
  "tags": [
27469
27469
  "actions"
27470
27470
  ],
@@ -31392,7 +31392,7 @@
31392
31392
  },
31393
31393
  "patch": {
31394
31394
  "summary": "Update a check run",
31395
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nUpdates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.",
31395
+ "description": "Updates a check run for a specific commit in a repository. Your GitHub App must have the `checks:write` permission to edit check runs.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.",
31396
31396
  "tags": [
31397
31397
  "checks"
31398
31398
  ],
@@ -32065,7 +32065,7 @@
32065
32065
  "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": {
32066
32066
  "get": {
32067
32067
  "summary": "List check runs in a check suite",
32068
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository.",
32068
+ "description": "Lists check runs for a check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.",
32069
32069
  "tags": [
32070
32070
  "checks"
32071
32071
  ],
@@ -32924,7 +32924,7 @@
32924
32924
  }
32925
32925
  },
32926
32926
  "403": {
32927
- "$ref": "#/components/responses/code_scanning_forbidden_read"
32927
+ "$ref": "#/components/responses/code_scanning_forbidden_write"
32928
32928
  },
32929
32929
  "404": {
32930
32930
  "$ref": "#/components/responses/not_found"
@@ -34400,7 +34400,7 @@
34400
34400
  "/repos/{owner}/{repo}/commits/{ref}/check-runs": {
34401
34401
  "get": {
34402
34402
  "summary": "List check runs for a Git reference",
34403
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository.",
34403
+ "description": "Lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth apps and authenticated users must have the `repo` scope to get check runs in a private repository.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nIf there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.9/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.9/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.",
34404
34404
  "tags": [
34405
34405
  "checks"
34406
34406
  ],
@@ -34503,7 +34503,7 @@
34503
34503
  "/repos/{owner}/{repo}/commits/{ref}/check-suites": {
34504
34504
  "get": {
34505
34505
  "summary": "List check suites for a Git reference",
34506
- "description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth apps and authenticated users must have the `repo` scope to get check suites in a private repository.",
34506
+ "description": "Lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth apps and authenticated users must have the `repo` scope to get check suites in a private repository.\n\n**Note:** The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.",
34507
34507
  "tags": [
34508
34508
  "checks"
34509
34509
  ],
@@ -37111,7 +37111,7 @@
37111
37111
  "content": {
37112
37112
  "application/json": {
37113
37113
  "schema": {
37114
- "$ref": "#/components/schemas/deployment-branch-policy-name-pattern"
37114
+ "$ref": "#/components/schemas/deployment-branch-policy-name-pattern-with-type"
37115
37115
  },
37116
37116
  "examples": {
37117
37117
  "example-wildcard": {
@@ -37168,7 +37168,7 @@
37168
37168
  "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": {
37169
37169
  "get": {
37170
37170
  "summary": "Get a deployment branch policy",
37171
- "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
37171
+ "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `administration:read` permission for the repository to use this endpoint.",
37172
37172
  "tags": [
37173
37173
  "repos"
37174
37174
  ],
@@ -38655,7 +38655,7 @@
38655
38655
  "operationId": "repos/list-webhooks",
38656
38656
  "externalDocs": {
38657
38657
  "description": "API method documentation",
38658
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#list-repository-webhooks"
38658
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#list-repository-webhooks"
38659
38659
  },
38660
38660
  "parameters": [
38661
38661
  {
@@ -38702,8 +38702,8 @@
38702
38702
  "x-github": {
38703
38703
  "githubCloudOnly": false,
38704
38704
  "enabledForGitHubApps": true,
38705
- "category": "webhooks",
38706
- "subcategory": "repos"
38705
+ "category": "repos",
38706
+ "subcategory": "webhooks"
38707
38707
  },
38708
38708
  "x-octokit": {}
38709
38709
  },
@@ -38716,7 +38716,7 @@
38716
38716
  "operationId": "repos/create-webhook",
38717
38717
  "externalDocs": {
38718
38718
  "description": "API method documentation",
38719
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#create-a-repository-webhook"
38719
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#create-a-repository-webhook"
38720
38720
  },
38721
38721
  "parameters": [
38722
38722
  {
@@ -38839,8 +38839,8 @@
38839
38839
  "x-github": {
38840
38840
  "githubCloudOnly": false,
38841
38841
  "enabledForGitHubApps": true,
38842
- "category": "webhooks",
38843
- "subcategory": "repos"
38842
+ "category": "repos",
38843
+ "subcategory": "webhooks"
38844
38844
  },
38845
38845
  "x-octokit": {}
38846
38846
  }
@@ -38855,7 +38855,7 @@
38855
38855
  "operationId": "repos/get-webhook",
38856
38856
  "externalDocs": {
38857
38857
  "description": "API method documentation",
38858
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#get-a-repository-webhook"
38858
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-repository-webhook"
38859
38859
  },
38860
38860
  "parameters": [
38861
38861
  {
@@ -38891,8 +38891,8 @@
38891
38891
  "x-github": {
38892
38892
  "githubCloudOnly": false,
38893
38893
  "enabledForGitHubApps": true,
38894
- "category": "webhooks",
38895
- "subcategory": "repos"
38894
+ "category": "repos",
38895
+ "subcategory": "webhooks"
38896
38896
  },
38897
38897
  "x-octokit": {}
38898
38898
  },
@@ -38905,7 +38905,7 @@
38905
38905
  "operationId": "repos/update-webhook",
38906
38906
  "externalDocs": {
38907
38907
  "description": "API method documentation",
38908
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#update-a-repository-webhook"
38908
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#update-a-repository-webhook"
38909
38909
  },
38910
38910
  "parameters": [
38911
38911
  {
@@ -39024,8 +39024,8 @@
39024
39024
  "x-github": {
39025
39025
  "githubCloudOnly": false,
39026
39026
  "enabledForGitHubApps": true,
39027
- "category": "webhooks",
39028
- "subcategory": "repos"
39027
+ "category": "repos",
39028
+ "subcategory": "webhooks"
39029
39029
  },
39030
39030
  "x-octokit": {}
39031
39031
  },
@@ -39038,7 +39038,7 @@
39038
39038
  "operationId": "repos/delete-webhook",
39039
39039
  "externalDocs": {
39040
39040
  "description": "API method documentation",
39041
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#delete-a-repository-webhook"
39041
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#delete-a-repository-webhook"
39042
39042
  },
39043
39043
  "parameters": [
39044
39044
  {
@@ -39062,8 +39062,8 @@
39062
39062
  "x-github": {
39063
39063
  "githubCloudOnly": false,
39064
39064
  "enabledForGitHubApps": true,
39065
- "category": "webhooks",
39066
- "subcategory": "repos"
39065
+ "category": "repos",
39066
+ "subcategory": "webhooks"
39067
39067
  },
39068
39068
  "x-octokit": {}
39069
39069
  }
@@ -39078,7 +39078,7 @@
39078
39078
  "operationId": "repos/get-webhook-config-for-repo",
39079
39079
  "externalDocs": {
39080
39080
  "description": "API method documentation",
39081
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository"
39081
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository"
39082
39082
  },
39083
39083
  "parameters": [
39084
39084
  {
@@ -39111,8 +39111,8 @@
39111
39111
  "x-github": {
39112
39112
  "githubCloudOnly": false,
39113
39113
  "enabledForGitHubApps": true,
39114
- "category": "webhooks",
39115
- "subcategory": "repo-config"
39114
+ "category": "repos",
39115
+ "subcategory": "webhooks"
39116
39116
  },
39117
39117
  "x-octokit": {}
39118
39118
  },
@@ -39125,7 +39125,7 @@
39125
39125
  "operationId": "repos/update-webhook-config-for-repo",
39126
39126
  "externalDocs": {
39127
39127
  "description": "API method documentation",
39128
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository"
39128
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository"
39129
39129
  },
39130
39130
  "parameters": [
39131
39131
  {
@@ -39192,8 +39192,8 @@
39192
39192
  "x-github": {
39193
39193
  "githubCloudOnly": false,
39194
39194
  "enabledForGitHubApps": true,
39195
- "category": "webhooks",
39196
- "subcategory": "repo-config"
39195
+ "category": "repos",
39196
+ "subcategory": "webhooks"
39197
39197
  },
39198
39198
  "x-octokit": {}
39199
39199
  }
@@ -39208,7 +39208,7 @@
39208
39208
  "operationId": "repos/list-webhook-deliveries",
39209
39209
  "externalDocs": {
39210
39210
  "description": "API method documentation",
39211
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook"
39211
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#list-deliveries-for-a-repository-webhook"
39212
39212
  },
39213
39213
  "parameters": [
39214
39214
  {
@@ -39264,8 +39264,8 @@
39264
39264
  "x-github": {
39265
39265
  "githubCloudOnly": false,
39266
39266
  "enabledForGitHubApps": true,
39267
- "category": "webhooks",
39268
- "subcategory": "repo-deliveries"
39267
+ "category": "repos",
39268
+ "subcategory": "webhooks"
39269
39269
  },
39270
39270
  "x-octokit": {}
39271
39271
  }
@@ -39280,7 +39280,7 @@
39280
39280
  "operationId": "repos/get-webhook-delivery",
39281
39281
  "externalDocs": {
39282
39282
  "description": "API method documentation",
39283
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook"
39283
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook"
39284
39284
  },
39285
39285
  "parameters": [
39286
39286
  {
@@ -39322,8 +39322,8 @@
39322
39322
  "x-github": {
39323
39323
  "githubCloudOnly": false,
39324
39324
  "enabledForGitHubApps": true,
39325
- "category": "webhooks",
39326
- "subcategory": "repo-deliveries"
39325
+ "category": "repos",
39326
+ "subcategory": "webhooks"
39327
39327
  },
39328
39328
  "x-octokit": {}
39329
39329
  }
@@ -39338,7 +39338,7 @@
39338
39338
  "operationId": "repos/redeliver-webhook-delivery",
39339
39339
  "externalDocs": {
39340
39340
  "description": "API method documentation",
39341
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook"
39341
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook"
39342
39342
  },
39343
39343
  "parameters": [
39344
39344
  {
@@ -39368,8 +39368,8 @@
39368
39368
  "x-github": {
39369
39369
  "githubCloudOnly": false,
39370
39370
  "enabledForGitHubApps": true,
39371
- "category": "webhooks",
39372
- "subcategory": "repo-deliveries"
39371
+ "category": "repos",
39372
+ "subcategory": "webhooks"
39373
39373
  },
39374
39374
  "x-octokit": {}
39375
39375
  }
@@ -39384,7 +39384,7 @@
39384
39384
  "operationId": "repos/ping-webhook",
39385
39385
  "externalDocs": {
39386
39386
  "description": "API method documentation",
39387
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#ping-a-repository-webhook"
39387
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#ping-a-repository-webhook"
39388
39388
  },
39389
39389
  "parameters": [
39390
39390
  {
@@ -39408,8 +39408,8 @@
39408
39408
  "x-github": {
39409
39409
  "githubCloudOnly": false,
39410
39410
  "enabledForGitHubApps": true,
39411
- "category": "webhooks",
39412
- "subcategory": "repos"
39411
+ "category": "repos",
39412
+ "subcategory": "webhooks"
39413
39413
  },
39414
39414
  "x-octokit": {}
39415
39415
  }
@@ -39424,7 +39424,7 @@
39424
39424
  "operationId": "repos/test-push-webhook",
39425
39425
  "externalDocs": {
39426
39426
  "description": "API method documentation",
39427
- "url": "https://docs.github.com/enterprise-server@3.9/rest/webhooks/repos#test-the-push-repository-webhook"
39427
+ "url": "https://docs.github.com/enterprise-server@3.9/rest/repos/webhooks#test-the-push-repository-webhook"
39428
39428
  },
39429
39429
  "parameters": [
39430
39430
  {
@@ -39448,8 +39448,8 @@
39448
39448
  "x-github": {
39449
39449
  "githubCloudOnly": false,
39450
39450
  "enabledForGitHubApps": true,
39451
- "category": "webhooks",
39452
- "subcategory": "repos"
39451
+ "category": "repos",
39452
+ "subcategory": "webhooks"
39453
39453
  },
39454
39454
  "x-octokit": {}
39455
39455
  }
@@ -42846,6 +42846,9 @@
42846
42846
  }
42847
42847
  }
42848
42848
  }
42849
+ },
42850
+ "404": {
42851
+ "$ref": "#/components/responses/not_found"
42849
42852
  }
42850
42853
  },
42851
42854
  "x-github": {
@@ -45223,7 +45226,7 @@
45223
45226
  "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": {
45224
45227
  "get": {
45225
45228
  "summary": "List reactions for a pull request review comment",
45226
- "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.9/pulls/comments#get-a-review-comment-for-a-pull-request).",
45229
+ "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.9/rest/pulls/comments#get-a-review-comment-for-a-pull-request).",
45227
45230
  "tags": [
45228
45231
  "reactions"
45229
45232
  ],
@@ -50814,7 +50817,7 @@
50814
50817
  "/repositories/{repository_id}/environments/{environment_name}/variables": {
50815
50818
  "get": {
50816
50819
  "summary": "List environment variables",
50817
- "description": "Lists all environment variables.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `environments:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50820
+ "description": "Lists all environment variables.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environments:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50818
50821
  "tags": [
50819
50822
  "actions"
50820
50823
  ],
@@ -50884,7 +50887,7 @@
50884
50887
  },
50885
50888
  "post": {
50886
50889
  "summary": "Create an environment variable",
50887
- "description": "Create an environment variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50890
+ "description": "Create an environment variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50888
50891
  "tags": [
50889
50892
  "actions"
50890
50893
  ],
@@ -50962,7 +50965,7 @@
50962
50965
  "/repositories/{repository_id}/environments/{environment_name}/variables/{name}": {
50963
50966
  "get": {
50964
50967
  "summary": "Get an environment variable",
50965
- "description": "Gets a specific variable in an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `environments:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50968
+ "description": "Gets a specific variable in an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environments:read` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
50966
50969
  "tags": [
50967
50970
  "actions"
50968
50971
  ],
@@ -51009,7 +51012,7 @@
51009
51012
  },
51010
51013
  "patch": {
51011
51014
  "summary": "Update an environment variable",
51012
- "description": "Updates an environment variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
51015
+ "description": "Updates an environment variable that you can reference in a GitHub Actions workflow.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
51013
51016
  "tags": [
51014
51017
  "actions"
51015
51018
  ],
@@ -51072,7 +51075,7 @@
51072
51075
  },
51073
51076
  "delete": {
51074
51077
  "summary": "Delete an environment variable",
51075
- "description": "Deletes an environment variable using the variable name.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nIf the repository is private, you must use an access token with the `repo` scope.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
51078
+ "description": "Deletes an environment variable using the variable name.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint.\nGitHub Apps must have the `environment:write` repository permission to use this endpoint.\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.",
51076
51079
  "tags": [
51077
51080
  "actions"
51078
51081
  ],
@@ -77024,7 +77027,7 @@
77024
77027
  "pull-request-edited": {
77025
77028
  "post": {
77026
77029
  "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.9/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.9/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.9/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.",
77027
- "description": "The title or body of a pull request was edited.",
77030
+ "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.",
77028
77031
  "operationId": "pull-request/edited",
77029
77032
  "externalDocs": {
77030
77033
  "url": "https://docs.github.com/enterprise-server@3.9/webhooks/webhook-events-and-payloads#pull_request"
@@ -84857,7 +84860,7 @@
84857
84860
  }
84858
84861
  },
84859
84862
  "x-github": {
84860
- "githubCloudOnly": false,
84863
+ "githubCloudOnly": true,
84861
84864
  "category": "webhooks",
84862
84865
  "subcategory": "user",
84863
84866
  "supported-webhook-types": [
@@ -84964,7 +84967,7 @@
84964
84967
  }
84965
84968
  },
84966
84969
  "x-github": {
84967
- "githubCloudOnly": false,
84970
+ "githubCloudOnly": true,
84968
84971
  "category": "webhooks",
84969
84972
  "subcategory": "user",
84970
84973
  "supported-webhook-types": [
@@ -99094,7 +99097,6 @@
99094
99097
  "forks",
99095
99098
  "forks_count",
99096
99099
  "git_url",
99097
- "has_downloads",
99098
99100
  "has_issues",
99099
99101
  "has_projects",
99100
99102
  "has_wiki",
@@ -99330,7 +99332,8 @@
99330
99332
  "enum": [
99331
99333
  "queued",
99332
99334
  "in_progress",
99333
- "completed"
99335
+ "completed",
99336
+ "waiting"
99334
99337
  ]
99335
99338
  },
99336
99339
  "conclusion": {
@@ -102466,7 +102469,7 @@
102466
102469
  ]
102467
102470
  },
102468
102471
  "languages": {
102469
- "description": "Languages to be analysed.",
102472
+ "description": "Languages to be analyzed.",
102470
102473
  "type": "array",
102471
102474
  "items": {
102472
102475
  "type": "string",
@@ -105329,6 +105332,20 @@
105329
105332
  }
105330
105333
  }
105331
105334
  },
105335
+ "deployment-branch-policy-name-pattern-with-type": {
105336
+ "title": "Deployment branch and tag policy name pattern",
105337
+ "type": "object",
105338
+ "properties": {
105339
+ "name": {
105340
+ "description": "The name pattern that branches or tags must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).",
105341
+ "type": "string",
105342
+ "example": "release/*"
105343
+ }
105344
+ },
105345
+ "required": [
105346
+ "name"
105347
+ ]
105348
+ },
105332
105349
  "deployment-branch-policy-name-pattern": {
105333
105350
  "title": "Deployment branch policy name pattern",
105334
105351
  "type": "object",
@@ -118771,7 +118788,7 @@
118771
118788
  "format": "uri"
118772
118789
  },
118773
118790
  "conclusion": {
118774
- "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`.",
118791
+ "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has `completed`.",
118775
118792
  "type": "string",
118776
118793
  "nullable": true,
118777
118794
  "enum": [
@@ -119552,7 +119569,7 @@
119552
119569
  "format": "uri"
119553
119570
  },
119554
119571
  "conclusion": {
119555
- "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.",
119572
+ "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.",
119556
119573
  "type": "string",
119557
119574
  "nullable": true,
119558
119575
  "enum": [
@@ -120326,7 +120343,7 @@
120326
120343
  "format": "uri"
120327
120344
  },
120328
120345
  "conclusion": {
120329
- "description": "The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`,` neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.",
120346
+ "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.",
120330
120347
  "type": "string",
120331
120348
  "nullable": true,
120332
120349
  "enum": [
@@ -120731,7 +120748,7 @@
120731
120748
  ]
120732
120749
  },
120733
120750
  "dismissed_reason": {
120734
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
120751
+ "description": "The reason for dismissing or closing the alert.",
120735
120752
  "type": "string",
120736
120753
  "nullable": true,
120737
120754
  "enum": [
@@ -121050,7 +121067,7 @@
121050
121067
  ]
121051
121068
  },
121052
121069
  "dismissed_reason": {
121053
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
121070
+ "description": "The reason for dismissing or closing the alert.",
121054
121071
  "type": "string",
121055
121072
  "nullable": true,
121056
121073
  "enum": [
@@ -121657,7 +121674,7 @@
121657
121674
  ]
121658
121675
  },
121659
121676
  "dismissed_reason": {
121660
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
121677
+ "description": "The reason for dismissing or closing the alert.",
121661
121678
  "type": "string",
121662
121679
  "nullable": true,
121663
121680
  "enum": [
@@ -128032,7 +128049,7 @@
128032
128049
  "format": "date-time"
128033
128050
  },
128034
128051
  "conclusion": {
128035
- "description": "The result of the completed check run. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has completed.",
128052
+ "description": "The result of the completed check run. This value will be `null` until the check run has completed.",
128036
128053
  "type": "string",
128037
128054
  "nullable": true,
128038
128055
  "enum": [
@@ -152861,6 +152878,10 @@
152861
152878
  "type": "string",
152862
152879
  "format": "uri"
152863
152880
  },
152881
+ "has_discussions": {
152882
+ "description": "Whether the repository has discussions enabled.",
152883
+ "type": "boolean"
152884
+ },
152864
152885
  "has_downloads": {
152865
152886
  "description": "Whether downloads are enabled.",
152866
152887
  "type": "boolean",
@@ -153217,6 +153238,10 @@
153217
153238
  },
153218
153239
  "watchers_count": {
153219
153240
  "type": "integer"
153241
+ },
153242
+ "web_commit_signoff_required": {
153243
+ "description": "Whether to require commit signoff.",
153244
+ "type": "boolean"
153220
153245
  }
153221
153246
  },
153222
153247
  "required": [
@@ -274868,7 +274893,6 @@
274868
274893
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
274869
274894
  "svn_url": "https://svn.github.com/octocat/Hello-World",
274870
274895
  "homepage": "https://github.com",
274871
- "language": null,
274872
274896
  "forks_count": 9,
274873
274897
  "forks": 9,
274874
274898
  "stargazers_count": 80,
@@ -275253,7 +275277,6 @@
275253
275277
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
275254
275278
  "svn_url": "https://svn.github.com/octocat/Hello-World",
275255
275279
  "homepage": "https://github.com",
275256
- "language": null,
275257
275280
  "forks_count": 9,
275258
275281
  "stargazers_count": 80,
275259
275282
  "watchers_count": 80,
@@ -275930,7 +275953,7 @@
275930
275953
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
275931
275954
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
275932
275955
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
275933
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
275956
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
275934
275957
  "status": "completed",
275935
275958
  "conclusion": "success",
275936
275959
  "started_at": "2020-01-20T17:42:40Z",
@@ -276604,7 +276627,7 @@
276604
276627
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
276605
276628
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
276606
276629
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
276607
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
276630
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
276608
276631
  "status": "completed",
276609
276632
  "conclusion": "success",
276610
276633
  "started_at": "2020-01-20T17:42:40Z",
@@ -286410,16 +286433,10 @@
286410
286433
  "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42",
286411
286434
  "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations",
286412
286435
  "state": "open",
286413
- "resolution": null,
286414
- "resolved_at": null,
286415
- "resolved_by": null,
286416
286436
  "secret_type": "mailchimp_api_key",
286417
286437
  "secret_type_display_name": "Mailchimp API Key",
286418
286438
  "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
286419
- "push_protection_bypassed_by": null,
286420
- "push_protection_bypassed": false,
286421
- "push_protection_bypassed_at": null,
286422
- "resolution_comment": null
286439
+ "push_protection_bypassed": false
286423
286440
  }
286424
286441
  },
286425
286442
  "secret-scanning-alert-resolved": {
@@ -286456,8 +286473,6 @@
286456
286473
  "secret_type_display_name": "Mailchimp API Key",
286457
286474
  "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
286458
286475
  "push_protection_bypassed": false,
286459
- "push_protection_bypassed_by": null,
286460
- "push_protection_bypassed_at": null,
286461
286476
  "resolution_comment": "Example comment"
286462
286477
  }
286463
286478
  },
@@ -292151,7 +292166,7 @@
292151
292166
  },
292152
292167
  "hook-id": {
292153
292168
  "name": "hook_id",
292154
- "description": "The unique identifier of the hook.",
292169
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
292155
292170
  "in": "path",
292156
292171
  "required": true,
292157
292172
  "schema": {