@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": {
@@ -741,7 +741,7 @@
741
741
  "parameters": [
742
742
  {
743
743
  "name": "hook_id",
744
- "description": "The unique identifier of the hook.",
744
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
745
745
  "in": "path",
746
746
  "required": true,
747
747
  "schema": {
@@ -856,7 +856,7 @@
856
856
  "parameters": [
857
857
  {
858
858
  "name": "hook_id",
859
- "description": "The unique identifier of the hook.",
859
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
860
860
  "in": "path",
861
861
  "required": true,
862
862
  "schema": {
@@ -1027,7 +1027,7 @@
1027
1027
  "parameters": [
1028
1028
  {
1029
1029
  "name": "hook_id",
1030
- "description": "The unique identifier of the hook.",
1030
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
1031
1031
  "in": "path",
1032
1032
  "required": true,
1033
1033
  "schema": {
@@ -1064,7 +1064,7 @@
1064
1064
  "parameters": [
1065
1065
  {
1066
1066
  "name": "hook_id",
1067
- "description": "The unique identifier of the hook.",
1067
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
1068
1068
  "in": "path",
1069
1069
  "required": true,
1070
1070
  "schema": {
@@ -18016,7 +18016,7 @@
18016
18016
  },
18017
18017
  "post": {
18018
18018
  "summary": "Create a new authorization",
18019
- "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.10/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.10/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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.10/articles/about-identity-and-access-management-with-saml-single-sign-on).",
18019
+ "description": "**Deprecation Notice:** GitHub Enterprise Server will discontinue the [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.10/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.10/developers/apps/authorizing-oauth-apps#web-application-flow). The [OAuth Authorizations API](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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.10/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.",
18020
18020
  "tags": [
18021
18021
  "oauth-authorizations"
18022
18022
  ],
@@ -90169,7 +90169,7 @@
90169
90169
  },
90170
90170
  {
90171
90171
  "name": "hook_id",
90172
- "description": "The unique identifier of the hook.",
90172
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90173
90173
  "in": "path",
90174
90174
  "required": true,
90175
90175
  "schema": {
@@ -90356,7 +90356,7 @@
90356
90356
  },
90357
90357
  {
90358
90358
  "name": "hook_id",
90359
- "description": "The unique identifier of the hook.",
90359
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90360
90360
  "in": "path",
90361
90361
  "required": true,
90362
90362
  "schema": {
@@ -90689,7 +90689,7 @@
90689
90689
  },
90690
90690
  {
90691
90691
  "name": "hook_id",
90692
- "description": "The unique identifier of the hook.",
90692
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90693
90693
  "in": "path",
90694
90694
  "required": true,
90695
90695
  "schema": {
@@ -90761,7 +90761,7 @@
90761
90761
  },
90762
90762
  {
90763
90763
  "name": "hook_id",
90764
- "description": "The unique identifier of the hook.",
90764
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90765
90765
  "in": "path",
90766
90766
  "required": true,
90767
90767
  "schema": {
@@ -90854,7 +90854,7 @@
90854
90854
  },
90855
90855
  {
90856
90856
  "name": "hook_id",
90857
- "description": "The unique identifier of the hook.",
90857
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90858
90858
  "in": "path",
90859
90859
  "required": true,
90860
90860
  "schema": {
@@ -91000,7 +91000,7 @@
91000
91000
  },
91001
91001
  {
91002
91002
  "name": "hook_id",
91003
- "description": "The unique identifier of the hook.",
91003
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
91004
91004
  "in": "path",
91005
91005
  "required": true,
91006
91006
  "schema": {
@@ -91319,7 +91319,7 @@
91319
91319
  },
91320
91320
  {
91321
91321
  "name": "hook_id",
91322
- "description": "The unique identifier of the hook.",
91322
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
91323
91323
  "in": "path",
91324
91324
  "required": true,
91325
91325
  "schema": {
@@ -91681,7 +91681,7 @@
91681
91681
  },
91682
91682
  {
91683
91683
  "name": "hook_id",
91684
- "description": "The unique identifier of the hook.",
91684
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
91685
91685
  "in": "path",
91686
91686
  "required": true,
91687
91687
  "schema": {
@@ -91876,7 +91876,7 @@
91876
91876
  },
91877
91877
  {
91878
91878
  "name": "hook_id",
91879
- "description": "The unique identifier of the hook.",
91879
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
91880
91880
  "in": "path",
91881
91881
  "required": true,
91882
91882
  "schema": {
@@ -99520,7 +99520,7 @@
99520
99520
  },
99521
99521
  "post": {
99522
99522
  "summary": "Start an organization migration",
99523
- "description": "Initiates the generation of a migration archive.",
99523
+ "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.10/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).\"",
99524
99524
  "tags": [
99525
99525
  "migrations"
99526
99526
  ],
@@ -99596,7 +99596,7 @@
99596
99596
  },
99597
99597
  "exclude": {
99598
99598
  "type": "array",
99599
- "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\"`.",
99599
+ "description": "Exclude related items from being returned in the response in order to improve performance of the request.",
99600
99600
  "items": {
99601
99601
  "type": "string",
99602
99602
  "enum": [
@@ -140414,7 +140414,6 @@
140414
140414
  "forks",
140415
140415
  "forks_count",
140416
140416
  "git_url",
140417
- "has_downloads",
140418
140417
  "has_issues",
140419
140418
  "has_projects",
140420
140419
  "has_wiki",
@@ -140516,7 +140515,6 @@
140516
140515
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
140517
140516
  "svn_url": "https://svn.github.com/octocat/Hello-World",
140518
140517
  "homepage": "https://github.com",
140519
- "language": null,
140520
140518
  "forks_count": 9,
140521
140519
  "forks": 9,
140522
140520
  "stargazers_count": 80,
@@ -140901,7 +140899,6 @@
140901
140899
  "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks",
140902
140900
  "svn_url": "https://svn.github.com/octocat/Hello-World",
140903
140901
  "homepage": "https://github.com",
140904
- "language": null,
140905
140902
  "forks_count": 9,
140906
140903
  "stargazers_count": 80,
140907
140904
  "watchers_count": 80,
@@ -145763,7 +145760,6 @@
145763
145760
  "forks",
145764
145761
  "forks_count",
145765
145762
  "git_url",
145766
- "has_downloads",
145767
145763
  "has_issues",
145768
145764
  "has_projects",
145769
145765
  "has_wiki",
@@ -147872,7 +147868,8 @@
147872
147868
  "enum": [
147873
147869
  "queued",
147874
147870
  "in_progress",
147875
- "completed"
147871
+ "completed",
147872
+ "waiting"
147876
147873
  ]
147877
147874
  },
147878
147875
  "conclusion": {
@@ -148054,7 +148051,7 @@
148054
148051
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
148055
148052
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
148056
148053
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
148057
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
148054
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
148058
148055
  "status": "completed",
148059
148056
  "conclusion": "success",
148060
148057
  "started_at": "2020-01-20T17:42:40Z",
@@ -148236,7 +148233,7 @@
148236
148233
  "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": {
148237
148234
  "post": {
148238
148235
  "summary": "Re-run a job from a workflow run",
148239
- "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.",
148236
+ "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.",
148240
148237
  "tags": [
148241
148238
  "actions"
148242
148239
  ],
@@ -148874,7 +148871,7 @@
148874
148871
  "/repos/{owner}/{repo}/actions/organization-variables": {
148875
148872
  "get": {
148876
148873
  "summary": "List repository organization variables",
148877
- "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.",
148874
+ "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.",
148878
148875
  "tags": [
148879
148876
  "actions"
148880
148877
  ],
@@ -149672,7 +149669,7 @@
149672
149669
  "/repos/{owner}/{repo}/actions/runners": {
149673
149670
  "get": {
149674
149671
  "summary": "List self-hosted runners for a repository",
149675
- "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.",
149672
+ "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.",
149676
149673
  "tags": [
149677
149674
  "actions"
149678
149675
  ],
@@ -149897,7 +149894,7 @@
149897
149894
  "/repos/{owner}/{repo}/actions/runners/downloads": {
149898
149895
  "get": {
149899
149896
  "summary": "List runner applications for a repository",
149900
- "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.",
149897
+ "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.",
149901
149898
  "tags": [
149902
149899
  "actions"
149903
149900
  ],
@@ -150028,7 +150025,7 @@
150028
150025
  "/repos/{owner}/{repo}/actions/runners/generate-jitconfig": {
150029
150026
  "post": {
150030
150027
  "summary": "Create configuration for a just-in-time runner for a repository",
150031
- "description": "Generates a configuration that can be passed to the runner application at startup.\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.",
150028
+ "description": "Generates a configuration that can be passed to the runner application at startup.\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.",
150032
150029
  "tags": [
150033
150030
  "actions"
150034
150031
  ],
@@ -150309,7 +150306,7 @@
150309
150306
  "/repos/{owner}/{repo}/actions/runners/registration-token": {
150310
150307
  "post": {
150311
150308
  "summary": "Create a registration token for a repository",
150312
- "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```",
150309
+ "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```",
150313
150310
  "tags": [
150314
150311
  "actions"
150315
150312
  ],
@@ -151615,7 +151612,7 @@
151615
151612
  "/repos/{owner}/{repo}/actions/runners/remove-token": {
151616
151613
  "post": {
151617
151614
  "summary": "Create a remove token for a repository",
151618
- "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```",
151615
+ "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```",
151619
151616
  "tags": [
151620
151617
  "actions"
151621
151618
  ],
@@ -152921,7 +152918,7 @@
152921
152918
  "/repos/{owner}/{repo}/actions/runners/{runner_id}": {
152922
152919
  "get": {
152923
152920
  "summary": "Get a self-hosted runner for a repository",
152924
- "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.",
152921
+ "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.",
152925
152922
  "tags": [
152926
152923
  "actions"
152927
152924
  ],
@@ -153083,7 +153080,7 @@
153083
153080
  },
153084
153081
  "delete": {
153085
153082
  "summary": "Delete a self-hosted runner from a repository",
153086
- "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.",
153083
+ "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.",
153087
153084
  "tags": [
153088
153085
  "actions"
153089
153086
  ],
@@ -153138,7 +153135,7 @@
153138
153135
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels": {
153139
153136
  "get": {
153140
153137
  "summary": "List labels for a self-hosted runner for a repository",
153141
- "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.",
153138
+ "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.",
153142
153139
  "tags": [
153143
153140
  "actions"
153144
153141
  ],
@@ -153291,7 +153288,7 @@
153291
153288
  },
153292
153289
  "post": {
153293
153290
  "summary": "Add custom labels to a self-hosted runner for a repository",
153294
- "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.",
153291
+ "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.",
153295
153292
  "tags": [
153296
153293
  "actions"
153297
153294
  ],
@@ -153508,7 +153505,7 @@
153508
153505
  },
153509
153506
  "put": {
153510
153507
  "summary": "Set custom labels for a self-hosted runner for a repository",
153511
- "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.",
153508
+ "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.",
153512
153509
  "tags": [
153513
153510
  "actions"
153514
153511
  ],
@@ -153725,7 +153722,7 @@
153725
153722
  },
153726
153723
  "delete": {
153727
153724
  "summary": "Remove all custom labels from a self-hosted runner for a repository",
153728
- "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.",
153725
+ "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.",
153729
153726
  "tags": [
153730
153727
  "actions"
153731
153728
  ],
@@ -153875,7 +153872,7 @@
153875
153872
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": {
153876
153873
  "delete": {
153877
153874
  "summary": "Remove a custom label from a self-hosted runner for a repository",
153878
- "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.",
153875
+ "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.",
153879
153876
  "tags": [
153880
153877
  "actions"
153881
153878
  ],
@@ -161466,7 +161463,8 @@
161466
161463
  "enum": [
161467
161464
  "queued",
161468
161465
  "in_progress",
161469
- "completed"
161466
+ "completed",
161467
+ "waiting"
161470
161468
  ]
161471
161469
  },
161472
161470
  "conclusion": {
@@ -161654,7 +161652,7 @@
161654
161652
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
161655
161653
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
161656
161654
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
161657
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
161655
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
161658
161656
  "status": "completed",
161659
161657
  "conclusion": "success",
161660
161658
  "started_at": "2020-01-20T17:42:40Z",
@@ -161881,7 +161879,7 @@
161881
161879
  "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": {
161882
161880
  "post": {
161883
161881
  "summary": "Cancel a workflow run",
161884
- "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.",
161882
+ "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.",
161885
161883
  "tags": [
161886
161884
  "actions"
161887
161885
  ],
@@ -162232,7 +162230,8 @@
162232
162230
  "enum": [
162233
162231
  "queued",
162234
162232
  "in_progress",
162235
- "completed"
162233
+ "completed",
162234
+ "waiting"
162236
162235
  ]
162237
162236
  },
162238
162237
  "conclusion": {
@@ -162420,7 +162419,7 @@
162420
162419
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
162421
162420
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
162422
162421
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
162423
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
162422
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
162424
162423
  "status": "completed",
162425
162424
  "conclusion": "success",
162426
162425
  "started_at": "2020-01-20T17:42:40Z",
@@ -164506,7 +164505,7 @@
164506
164505
  "/repos/{owner}/{repo}/actions/variables": {
164507
164506
  "get": {
164508
164507
  "summary": "List repository variables",
164509
- "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.",
164508
+ "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.",
164510
164509
  "tags": [
164511
164510
  "actions"
164512
164511
  ],
@@ -164650,7 +164649,7 @@
164650
164649
  },
164651
164650
  "post": {
164652
164651
  "summary": "Create a repository variable",
164653
- "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.",
164652
+ "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.",
164654
164653
  "tags": [
164655
164654
  "actions"
164656
164655
  ],
@@ -164744,7 +164743,7 @@
164744
164743
  "/repos/{owner}/{repo}/actions/variables/{name}": {
164745
164744
  "get": {
164746
164745
  "summary": "Get a repository variable",
164747
- "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.",
164746
+ "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.",
164748
164747
  "tags": [
164749
164748
  "actions"
164750
164749
  ],
@@ -164845,7 +164844,7 @@
164845
164844
  },
164846
164845
  "patch": {
164847
164846
  "summary": "Update a repository variable",
164848
- "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.",
164847
+ "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.",
164849
164848
  "tags": [
164850
164849
  "actions"
164851
164850
  ],
@@ -164926,7 +164925,7 @@
164926
164925
  },
164927
164926
  "delete": {
164928
164927
  "summary": "Delete a repository variable",
164929
- "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.",
164928
+ "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.",
164930
164929
  "tags": [
164931
164930
  "actions"
164932
164931
  ],
@@ -191307,7 +191306,7 @@
191307
191306
  },
191308
191307
  "patch": {
191309
191308
  "summary": "Update a check run",
191310
- "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.",
191309
+ "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.",
191311
191310
  "tags": [
191312
191311
  "checks"
191313
191312
  ],
@@ -198394,7 +198393,7 @@
198394
198393
  "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": {
198395
198394
  "get": {
198396
198395
  "summary": "List check runs in a check suite",
198397
- "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.",
198396
+ "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.",
198398
198397
  "tags": [
198399
198398
  "checks"
198400
198399
  ],
@@ -202728,7 +202727,7 @@
202728
202727
  ]
202729
202728
  },
202730
202729
  "languages": {
202731
- "description": "Languages to be analysed.",
202730
+ "description": "Languages to be analyzed.",
202732
202731
  "type": "array",
202733
202732
  "items": {
202734
202733
  "type": "string",
@@ -202917,7 +202916,7 @@
202917
202916
  ]
202918
202917
  },
202919
202918
  "languages": {
202920
- "description": "CodeQL languages to be analyzed. Supported values are: `c-cpp`, `csharp`, `go`, `java-kotlin`, `javascript-typescript`, `python`, and `ruby`.",
202919
+ "description": "CodeQL languages to be analyzed.",
202921
202920
  "type": "array",
202922
202921
  "items": {
202923
202922
  "type": "string",
@@ -202997,7 +202996,7 @@
202997
202996
  }
202998
202997
  },
202999
202998
  "403": {
203000
- "description": "Response if GitHub Advanced Security is not enabled for this repository",
202999
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
203001
203000
  "content": {
203002
203001
  "application/json": {
203003
203002
  "schema": {
@@ -214140,7 +214139,7 @@
214140
214139
  "/repos/{owner}/{repo}/commits/{ref}/check-runs": {
214141
214140
  "get": {
214142
214141
  "summary": "List check runs for a Git reference",
214143
- "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.",
214142
+ "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.10/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.10/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.",
214144
214143
  "tags": [
214145
214144
  "checks"
214146
214145
  ],
@@ -215197,7 +215196,7 @@
215197
215196
  "/repos/{owner}/{repo}/commits/{ref}/check-suites": {
215198
215197
  "get": {
215199
215198
  "summary": "List check suites for a Git reference",
215200
- "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.",
215199
+ "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`.",
215201
215200
  "tags": [
215202
215201
  "checks"
215203
215202
  ],
@@ -231390,7 +231389,6 @@
231390
231389
  "slug": "justice-league",
231391
231390
  "description": "A great team.",
231392
231391
  "privacy": "closed",
231393
- "notification_setting": "notifications_enabled",
231394
231392
  "permission": "admin",
231395
231393
  "members_url": "https://api.github.com/teams/1/members{/member}",
231396
231394
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -231990,7 +231988,6 @@
231990
231988
  "slug": "justice-league",
231991
231989
  "description": "A great team.",
231992
231990
  "privacy": "closed",
231993
- "notification_setting": "notifications_enabled",
231994
231991
  "permission": "admin",
231995
231992
  "members_url": "https://api.github.com/teams/1/members{/member}",
231996
231993
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -232669,7 +232666,6 @@
232669
232666
  "slug": "justice-league",
232670
232667
  "description": "A great team.",
232671
232668
  "privacy": "closed",
232672
- "notification_setting": "notifications_enabled",
232673
232669
  "permission": "admin",
232674
232670
  "members_url": "https://api.github.com/teams/1/members{/member}",
232675
232671
  "repositories_url": "https://api.github.com/teams/1/repos",
@@ -232961,11 +232957,11 @@
232961
232957
  "content": {
232962
232958
  "application/json": {
232963
232959
  "schema": {
232964
- "title": "Deployment branch policy name pattern",
232960
+ "title": "Deployment branch and tag policy name pattern",
232965
232961
  "type": "object",
232966
232962
  "properties": {
232967
232963
  "name": {
232968
- "description": "The name pattern that branches 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).",
232964
+ "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).",
232969
232965
  "type": "string",
232970
232966
  "example": "release/*"
232971
232967
  }
@@ -233055,7 +233051,7 @@
233055
233051
  "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": {
233056
233052
  "get": {
233057
233053
  "summary": "Get a deployment branch policy",
233058
- "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.",
233054
+ "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.",
233059
233055
  "tags": [
233060
233056
  "repos"
233061
233057
  ],
@@ -242717,7 +242713,6 @@
242717
242713
  "forks",
242718
242714
  "forks_count",
242719
242715
  "git_url",
242720
- "has_downloads",
242721
242716
  "has_issues",
242722
242717
  "has_projects",
242723
242718
  "has_wiki",
@@ -246776,7 +246771,7 @@
246776
246771
  "operationId": "repos/list-webhooks",
246777
246772
  "externalDocs": {
246778
246773
  "description": "API method documentation",
246779
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#list-repository-webhooks"
246774
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-repository-webhooks"
246780
246775
  },
246781
246776
  "parameters": [
246782
246777
  {
@@ -247057,8 +247052,8 @@
247057
247052
  "x-github": {
247058
247053
  "githubCloudOnly": false,
247059
247054
  "enabledForGitHubApps": true,
247060
- "category": "webhooks",
247061
- "subcategory": "repos"
247055
+ "category": "repos",
247056
+ "subcategory": "webhooks"
247062
247057
  },
247063
247058
  "x-octokit": {}
247064
247059
  },
@@ -247071,7 +247066,7 @@
247071
247066
  "operationId": "repos/create-webhook",
247072
247067
  "externalDocs": {
247073
247068
  "description": "API method documentation",
247074
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#create-a-repository-webhook"
247069
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#create-a-repository-webhook"
247075
247070
  },
247076
247071
  "parameters": [
247077
247072
  {
@@ -247516,8 +247511,8 @@
247516
247511
  "x-github": {
247517
247512
  "githubCloudOnly": false,
247518
247513
  "enabledForGitHubApps": true,
247519
- "category": "webhooks",
247520
- "subcategory": "repos"
247514
+ "category": "repos",
247515
+ "subcategory": "webhooks"
247521
247516
  },
247522
247517
  "x-octokit": {}
247523
247518
  }
@@ -247532,7 +247527,7 @@
247532
247527
  "operationId": "repos/get-webhook",
247533
247528
  "externalDocs": {
247534
247529
  "description": "API method documentation",
247535
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#get-a-repository-webhook"
247530
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-repository-webhook"
247536
247531
  },
247537
247532
  "parameters": [
247538
247533
  {
@@ -247555,7 +247550,7 @@
247555
247550
  },
247556
247551
  {
247557
247552
  "name": "hook_id",
247558
- "description": "The unique identifier of the hook.",
247553
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
247559
247554
  "in": "path",
247560
247555
  "required": true,
247561
247556
  "schema": {
@@ -247791,8 +247786,8 @@
247791
247786
  "x-github": {
247792
247787
  "githubCloudOnly": false,
247793
247788
  "enabledForGitHubApps": true,
247794
- "category": "webhooks",
247795
- "subcategory": "repos"
247789
+ "category": "repos",
247790
+ "subcategory": "webhooks"
247796
247791
  },
247797
247792
  "x-octokit": {}
247798
247793
  },
@@ -247805,7 +247800,7 @@
247805
247800
  "operationId": "repos/update-webhook",
247806
247801
  "externalDocs": {
247807
247802
  "description": "API method documentation",
247808
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#update-a-repository-webhook"
247803
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-repository-webhook"
247809
247804
  },
247810
247805
  "parameters": [
247811
247806
  {
@@ -247828,7 +247823,7 @@
247828
247823
  },
247829
247824
  {
247830
247825
  "name": "hook_id",
247831
- "description": "The unique identifier of the hook.",
247826
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
247832
247827
  "in": "path",
247833
247828
  "required": true,
247834
247829
  "schema": {
@@ -248229,8 +248224,8 @@
248229
248224
  "x-github": {
248230
248225
  "githubCloudOnly": false,
248231
248226
  "enabledForGitHubApps": true,
248232
- "category": "webhooks",
248233
- "subcategory": "repos"
248227
+ "category": "repos",
248228
+ "subcategory": "webhooks"
248234
248229
  },
248235
248230
  "x-octokit": {}
248236
248231
  },
@@ -248243,7 +248238,7 @@
248243
248238
  "operationId": "repos/delete-webhook",
248244
248239
  "externalDocs": {
248245
248240
  "description": "API method documentation",
248246
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#delete-a-repository-webhook"
248241
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#delete-a-repository-webhook"
248247
248242
  },
248248
248243
  "parameters": [
248249
248244
  {
@@ -248266,7 +248261,7 @@
248266
248261
  },
248267
248262
  {
248268
248263
  "name": "hook_id",
248269
- "description": "The unique identifier of the hook.",
248264
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
248270
248265
  "in": "path",
248271
248266
  "required": true,
248272
248267
  "schema": {
@@ -248308,8 +248303,8 @@
248308
248303
  "x-github": {
248309
248304
  "githubCloudOnly": false,
248310
248305
  "enabledForGitHubApps": true,
248311
- "category": "webhooks",
248312
- "subcategory": "repos"
248306
+ "category": "repos",
248307
+ "subcategory": "webhooks"
248313
248308
  },
248314
248309
  "x-octokit": {}
248315
248310
  }
@@ -248324,7 +248319,7 @@
248324
248319
  "operationId": "repos/get-webhook-config-for-repo",
248325
248320
  "externalDocs": {
248326
248321
  "description": "API method documentation",
248327
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository"
248322
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository"
248328
248323
  },
248329
248324
  "parameters": [
248330
248325
  {
@@ -248347,7 +248342,7 @@
248347
248342
  },
248348
248343
  {
248349
248344
  "name": "hook_id",
248350
- "description": "The unique identifier of the hook.",
248345
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
248351
248346
  "in": "path",
248352
248347
  "required": true,
248353
248348
  "schema": {
@@ -248412,8 +248407,8 @@
248412
248407
  "x-github": {
248413
248408
  "githubCloudOnly": false,
248414
248409
  "enabledForGitHubApps": true,
248415
- "category": "webhooks",
248416
- "subcategory": "repo-config"
248410
+ "category": "repos",
248411
+ "subcategory": "webhooks"
248417
248412
  },
248418
248413
  "x-octokit": {}
248419
248414
  },
@@ -248426,7 +248421,7 @@
248426
248421
  "operationId": "repos/update-webhook-config-for-repo",
248427
248422
  "externalDocs": {
248428
248423
  "description": "API method documentation",
248429
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository"
248424
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository"
248430
248425
  },
248431
248426
  "parameters": [
248432
248427
  {
@@ -248449,7 +248444,7 @@
248449
248444
  },
248450
248445
  {
248451
248446
  "name": "hook_id",
248452
- "description": "The unique identifier of the hook.",
248447
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
248453
248448
  "in": "path",
248454
248449
  "required": true,
248455
248450
  "schema": {
@@ -248564,8 +248559,8 @@
248564
248559
  "x-github": {
248565
248560
  "githubCloudOnly": false,
248566
248561
  "enabledForGitHubApps": true,
248567
- "category": "webhooks",
248568
- "subcategory": "repo-config"
248562
+ "category": "repos",
248563
+ "subcategory": "webhooks"
248569
248564
  },
248570
248565
  "x-octokit": {}
248571
248566
  }
@@ -248580,7 +248575,7 @@
248580
248575
  "operationId": "repos/list-webhook-deliveries",
248581
248576
  "externalDocs": {
248582
248577
  "description": "API method documentation",
248583
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook"
248578
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#list-deliveries-for-a-repository-webhook"
248584
248579
  },
248585
248580
  "parameters": [
248586
248581
  {
@@ -248603,7 +248598,7 @@
248603
248598
  },
248604
248599
  {
248605
248600
  "name": "hook_id",
248606
- "description": "The unique identifier of the hook.",
248601
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
248607
248602
  "in": "path",
248608
248603
  "required": true,
248609
248604
  "schema": {
@@ -248892,8 +248887,8 @@
248892
248887
  "x-github": {
248893
248888
  "githubCloudOnly": false,
248894
248889
  "enabledForGitHubApps": true,
248895
- "category": "webhooks",
248896
- "subcategory": "repo-deliveries"
248890
+ "category": "repos",
248891
+ "subcategory": "webhooks"
248897
248892
  },
248898
248893
  "x-octokit": {}
248899
248894
  }
@@ -248908,7 +248903,7 @@
248908
248903
  "operationId": "repos/get-webhook-delivery",
248909
248904
  "externalDocs": {
248910
248905
  "description": "API method documentation",
248911
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook"
248906
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook"
248912
248907
  },
248913
248908
  "parameters": [
248914
248909
  {
@@ -248931,7 +248926,7 @@
248931
248926
  },
248932
248927
  {
248933
248928
  "name": "hook_id",
248934
- "description": "The unique identifier of the hook.",
248929
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
248935
248930
  "in": "path",
248936
248931
  "required": true,
248937
248932
  "schema": {
@@ -249263,8 +249258,8 @@
249263
249258
  "x-github": {
249264
249259
  "githubCloudOnly": false,
249265
249260
  "enabledForGitHubApps": true,
249266
- "category": "webhooks",
249267
- "subcategory": "repo-deliveries"
249261
+ "category": "repos",
249262
+ "subcategory": "webhooks"
249268
249263
  },
249269
249264
  "x-octokit": {}
249270
249265
  }
@@ -249279,7 +249274,7 @@
249279
249274
  "operationId": "repos/redeliver-webhook-delivery",
249280
249275
  "externalDocs": {
249281
249276
  "description": "API method documentation",
249282
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook"
249277
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook"
249283
249278
  },
249284
249279
  "parameters": [
249285
249280
  {
@@ -249302,7 +249297,7 @@
249302
249297
  },
249303
249298
  {
249304
249299
  "name": "hook_id",
249305
- "description": "The unique identifier of the hook.",
249300
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
249306
249301
  "in": "path",
249307
249302
  "required": true,
249308
249303
  "schema": {
@@ -249467,8 +249462,8 @@
249467
249462
  "x-github": {
249468
249463
  "githubCloudOnly": false,
249469
249464
  "enabledForGitHubApps": true,
249470
- "category": "webhooks",
249471
- "subcategory": "repo-deliveries"
249465
+ "category": "repos",
249466
+ "subcategory": "webhooks"
249472
249467
  },
249473
249468
  "x-octokit": {}
249474
249469
  }
@@ -249483,7 +249478,7 @@
249483
249478
  "operationId": "repos/ping-webhook",
249484
249479
  "externalDocs": {
249485
249480
  "description": "API method documentation",
249486
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#ping-a-repository-webhook"
249481
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#ping-a-repository-webhook"
249487
249482
  },
249488
249483
  "parameters": [
249489
249484
  {
@@ -249506,7 +249501,7 @@
249506
249501
  },
249507
249502
  {
249508
249503
  "name": "hook_id",
249509
- "description": "The unique identifier of the hook.",
249504
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
249510
249505
  "in": "path",
249511
249506
  "required": true,
249512
249507
  "schema": {
@@ -249548,8 +249543,8 @@
249548
249543
  "x-github": {
249549
249544
  "githubCloudOnly": false,
249550
249545
  "enabledForGitHubApps": true,
249551
- "category": "webhooks",
249552
- "subcategory": "repos"
249546
+ "category": "repos",
249547
+ "subcategory": "webhooks"
249553
249548
  },
249554
249549
  "x-octokit": {}
249555
249550
  }
@@ -249564,7 +249559,7 @@
249564
249559
  "operationId": "repos/test-push-webhook",
249565
249560
  "externalDocs": {
249566
249561
  "description": "API method documentation",
249567
- "url": "https://docs.github.com/enterprise-server@3.10/rest/webhooks/repos#test-the-push-repository-webhook"
249562
+ "url": "https://docs.github.com/enterprise-server@3.10/rest/repos/webhooks#test-the-push-repository-webhook"
249568
249563
  },
249569
249564
  "parameters": [
249570
249565
  {
@@ -249587,7 +249582,7 @@
249587
249582
  },
249588
249583
  {
249589
249584
  "name": "hook_id",
249590
- "description": "The unique identifier of the hook.",
249585
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
249591
249586
  "in": "path",
249592
249587
  "required": true,
249593
249588
  "schema": {
@@ -249629,8 +249624,8 @@
249629
249624
  "x-github": {
249630
249625
  "githubCloudOnly": false,
249631
249626
  "enabledForGitHubApps": true,
249632
- "category": "webhooks",
249633
- "subcategory": "repos"
249627
+ "category": "repos",
249628
+ "subcategory": "webhooks"
249634
249629
  },
249635
249630
  "x-octokit": {}
249636
249631
  }
@@ -306584,6 +306579,32 @@
306584
306579
  }
306585
306580
  }
306586
306581
  }
306582
+ },
306583
+ "404": {
306584
+ "description": "Resource not found",
306585
+ "content": {
306586
+ "application/json": {
306587
+ "schema": {
306588
+ "title": "Basic Error",
306589
+ "description": "Basic Error",
306590
+ "type": "object",
306591
+ "properties": {
306592
+ "message": {
306593
+ "type": "string"
306594
+ },
306595
+ "documentation_url": {
306596
+ "type": "string"
306597
+ },
306598
+ "url": {
306599
+ "type": "string"
306600
+ },
306601
+ "status": {
306602
+ "type": "string"
306603
+ }
306604
+ }
306605
+ }
306606
+ }
306607
+ }
306587
306608
  }
306588
306609
  },
306589
306610
  "x-github": {
@@ -323935,7 +323956,7 @@
323935
323956
  "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": {
323936
323957
  "get": {
323937
323958
  "summary": "List reactions for a pull request review comment",
323938
- "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/pulls/comments#get-a-review-comment-for-a-pull-request).",
323959
+ "description": "List the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request).",
323939
323960
  "tags": [
323940
323961
  "reactions"
323941
323962
  ],
@@ -356493,16 +356514,10 @@
356493
356514
  "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42",
356494
356515
  "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations",
356495
356516
  "state": "open",
356496
- "resolution": null,
356497
- "resolved_at": null,
356498
- "resolved_by": null,
356499
356517
  "secret_type": "mailchimp_api_key",
356500
356518
  "secret_type_display_name": "Mailchimp API Key",
356501
356519
  "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
356502
- "push_protection_bypassed_by": null,
356503
- "push_protection_bypassed": false,
356504
- "push_protection_bypassed_at": null,
356505
- "resolution_comment": null
356520
+ "push_protection_bypassed": false
356506
356521
  }
356507
356522
  }
356508
356523
  }
@@ -357007,8 +357022,6 @@
357007
357022
  "secret_type_display_name": "Mailchimp API Key",
357008
357023
  "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
357009
357024
  "push_protection_bypassed": false,
357010
- "push_protection_bypassed_by": null,
357011
- "push_protection_bypassed_at": null,
357012
357025
  "resolution_comment": "Example comment"
357013
357026
  }
357014
357027
  }
@@ -364585,7 +364598,7 @@
364585
364598
  "/repositories/{repository_id}/environments/{environment_name}/variables": {
364586
364599
  "get": {
364587
364600
  "summary": "List environment variables",
364588
- "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.",
364601
+ "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.",
364589
364602
  "tags": [
364590
364603
  "actions"
364591
364604
  ],
@@ -364729,7 +364742,7 @@
364729
364742
  },
364730
364743
  "post": {
364731
364744
  "summary": "Create an environment variable",
364732
- "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.",
364745
+ "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.",
364733
364746
  "tags": [
364734
364747
  "actions"
364735
364748
  ],
@@ -364823,7 +364836,7 @@
364823
364836
  "/repositories/{repository_id}/environments/{environment_name}/variables/{name}": {
364824
364837
  "get": {
364825
364838
  "summary": "Get an environment variable",
364826
- "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.",
364839
+ "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.",
364827
364840
  "tags": [
364828
364841
  "actions"
364829
364842
  ],
@@ -364924,7 +364937,7 @@
364924
364937
  },
364925
364938
  "patch": {
364926
364939
  "summary": "Update an environment variable",
364927
- "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.",
364940
+ "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.",
364928
364941
  "tags": [
364929
364942
  "actions"
364930
364943
  ],
@@ -365005,7 +365018,7 @@
365005
365018
  },
365006
365019
  "delete": {
365007
365020
  "summary": "Delete an environment variable",
365008
- "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.",
365021
+ "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.",
365009
365022
  "tags": [
365010
365023
  "actions"
365011
365024
  ],
@@ -477016,7 +477029,7 @@
477016
477029
  "format": "uri"
477017
477030
  },
477018
477031
  "conclusion": {
477019
- "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`.",
477032
+ "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`.",
477020
477033
  "type": "string",
477021
477034
  "nullable": true,
477022
477035
  "enum": [
@@ -479370,7 +479383,7 @@
479370
479383
  "format": "uri"
479371
479384
  },
479372
479385
  "conclusion": {
479373
- "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.",
479386
+ "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.",
479374
479387
  "type": "string",
479375
479388
  "nullable": true,
479376
479389
  "enum": [
@@ -481717,7 +481730,7 @@
481717
481730
  "format": "uri"
481718
481731
  },
481719
481732
  "conclusion": {
481720
- "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.",
481733
+ "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.",
481721
481734
  "type": "string",
481722
481735
  "nullable": true,
481723
481736
  "enum": [
@@ -483695,7 +483708,7 @@
483695
483708
  ]
483696
483709
  },
483697
483710
  "dismissed_reason": {
483698
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
483711
+ "description": "The reason for dismissing or closing the alert.",
483699
483712
  "type": "string",
483700
483713
  "nullable": true,
483701
483714
  "enum": [
@@ -485587,7 +485600,7 @@
485587
485600
  ]
485588
485601
  },
485589
485602
  "dismissed_reason": {
485590
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
485603
+ "description": "The reason for dismissing or closing the alert.",
485591
485604
  "type": "string",
485592
485605
  "nullable": true,
485593
485606
  "enum": [
@@ -489343,7 +489356,7 @@
489343
489356
  ]
489344
489357
  },
489345
489358
  "dismissed_reason": {
489346
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
489359
+ "description": "The reason for dismissing or closing the alert.",
489347
489360
  "type": "string",
489348
489361
  "nullable": true,
489349
489362
  "enum": [
@@ -530089,7 +530102,7 @@
530089
530102
  "format": "date-time"
530090
530103
  },
530091
530104
  "conclusion": {
530092
- "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.",
530105
+ "description": "The result of the completed check run. This value will be `null` until the check run has completed.",
530093
530106
  "type": "string",
530094
530107
  "nullable": true,
530095
530108
  "enum": [
@@ -633591,6 +633604,10 @@
633591
633604
  "type": "string",
633592
633605
  "format": "uri"
633593
633606
  },
633607
+ "has_discussions": {
633608
+ "description": "Whether the repository has discussions enabled.",
633609
+ "type": "boolean"
633610
+ },
633594
633611
  "has_downloads": {
633595
633612
  "description": "Whether downloads are enabled.",
633596
633613
  "type": "boolean",
@@ -633947,6 +633964,10 @@
633947
633964
  },
633948
633965
  "watchers_count": {
633949
633966
  "type": "integer"
633967
+ },
633968
+ "web_commit_signoff_required": {
633969
+ "description": "Whether to require commit signoff.",
633970
+ "type": "boolean"
633950
633971
  }
633951
633972
  },
633952
633973
  "required": [
@@ -763120,7 +763141,7 @@
763120
763141
  "pull-request-edited": {
763121
763142
  "post": {
763122
763143
  "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.10/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.10/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.10/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.",
763123
- "description": "The title or body of a pull request was edited.",
763144
+ "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.",
763124
763145
  "operationId": "pull-request/edited",
763125
763146
  "externalDocs": {
763126
763147
  "url": "https://docs.github.com/enterprise-server@3.10/webhooks/webhook-events-and-payloads#pull_request"
@@ -935414,7 +935435,6 @@
935414
935435
  "forks",
935415
935436
  "forks_count",
935416
935437
  "git_url",
935417
- "has_downloads",
935418
935438
  "has_issues",
935419
935439
  "has_projects",
935420
935440
  "has_wiki",
@@ -961730,7 +961750,7 @@
961730
961750
  }
961731
961751
  },
961732
961752
  "x-github": {
961733
- "githubCloudOnly": false,
961753
+ "githubCloudOnly": true,
961734
961754
  "category": "webhooks",
961735
961755
  "subcategory": "user",
961736
961756
  "supported-webhook-types": [
@@ -963422,7 +963442,7 @@
963422
963442
  }
963423
963443
  },
963424
963444
  "x-github": {
963425
- "githubCloudOnly": false,
963445
+ "githubCloudOnly": true,
963426
963446
  "category": "webhooks",
963427
963447
  "subcategory": "user",
963428
963448
  "supported-webhook-types": [