@octokit/openapi 13.0.0 → 13.1.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.1.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": {
@@ -745,7 +745,7 @@
745
745
  "parameters": [
746
746
  {
747
747
  "name": "hook_id",
748
- "description": "The unique identifier of the hook.",
748
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
749
749
  "in": "path",
750
750
  "required": true,
751
751
  "schema": {
@@ -860,7 +860,7 @@
860
860
  "parameters": [
861
861
  {
862
862
  "name": "hook_id",
863
- "description": "The unique identifier of the hook.",
863
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
864
864
  "in": "path",
865
865
  "required": true,
866
866
  "schema": {
@@ -1031,7 +1031,7 @@
1031
1031
  "parameters": [
1032
1032
  {
1033
1033
  "name": "hook_id",
1034
- "description": "The unique identifier of the hook.",
1034
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
1035
1035
  "in": "path",
1036
1036
  "required": true,
1037
1037
  "schema": {
@@ -1068,7 +1068,7 @@
1068
1068
  "parameters": [
1069
1069
  {
1070
1070
  "name": "hook_id",
1071
- "description": "The unique identifier of the hook.",
1071
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
1072
1072
  "in": "path",
1073
1073
  "required": true,
1074
1074
  "schema": {
@@ -18017,7 +18017,7 @@
18017
18017
  },
18018
18018
  "post": {
18019
18019
  "summary": "Create a new authorization",
18020
- "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).",
18020
+ "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.",
18021
18021
  "tags": [
18022
18022
  "oauth-authorizations"
18023
18023
  ],
@@ -89121,7 +89121,7 @@
89121
89121
  },
89122
89122
  {
89123
89123
  "name": "hook_id",
89124
- "description": "The unique identifier of the hook.",
89124
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89125
89125
  "in": "path",
89126
89126
  "required": true,
89127
89127
  "schema": {
@@ -89308,7 +89308,7 @@
89308
89308
  },
89309
89309
  {
89310
89310
  "name": "hook_id",
89311
- "description": "The unique identifier of the hook.",
89311
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89312
89312
  "in": "path",
89313
89313
  "required": true,
89314
89314
  "schema": {
@@ -89641,7 +89641,7 @@
89641
89641
  },
89642
89642
  {
89643
89643
  "name": "hook_id",
89644
- "description": "The unique identifier of the hook.",
89644
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89645
89645
  "in": "path",
89646
89646
  "required": true,
89647
89647
  "schema": {
@@ -89713,7 +89713,7 @@
89713
89713
  },
89714
89714
  {
89715
89715
  "name": "hook_id",
89716
- "description": "The unique identifier of the hook.",
89716
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89717
89717
  "in": "path",
89718
89718
  "required": true,
89719
89719
  "schema": {
@@ -89806,7 +89806,7 @@
89806
89806
  },
89807
89807
  {
89808
89808
  "name": "hook_id",
89809
- "description": "The unique identifier of the hook.",
89809
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89810
89810
  "in": "path",
89811
89811
  "required": true,
89812
89812
  "schema": {
@@ -89952,7 +89952,7 @@
89952
89952
  },
89953
89953
  {
89954
89954
  "name": "hook_id",
89955
- "description": "The unique identifier of the hook.",
89955
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
89956
89956
  "in": "path",
89957
89957
  "required": true,
89958
89958
  "schema": {
@@ -90271,7 +90271,7 @@
90271
90271
  },
90272
90272
  {
90273
90273
  "name": "hook_id",
90274
- "description": "The unique identifier of the hook.",
90274
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90275
90275
  "in": "path",
90276
90276
  "required": true,
90277
90277
  "schema": {
@@ -90633,7 +90633,7 @@
90633
90633
  },
90634
90634
  {
90635
90635
  "name": "hook_id",
90636
- "description": "The unique identifier of the hook.",
90636
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90637
90637
  "in": "path",
90638
90638
  "required": true,
90639
90639
  "schema": {
@@ -90828,7 +90828,7 @@
90828
90828
  },
90829
90829
  {
90830
90830
  "name": "hook_id",
90831
- "description": "The unique identifier of the hook.",
90831
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
90832
90832
  "in": "path",
90833
90833
  "required": true,
90834
90834
  "schema": {
@@ -98472,7 +98472,7 @@
98472
98472
  },
98473
98473
  "post": {
98474
98474
  "summary": "Start an organization migration",
98475
- "description": "Initiates the generation of a migration archive.",
98475
+ "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).\"",
98476
98476
  "tags": [
98477
98477
  "migrations"
98478
98478
  ],
@@ -98548,7 +98548,7 @@
98548
98548
  },
98549
98549
  "exclude": {
98550
98550
  "type": "array",
98551
- "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\"`.",
98551
+ "description": "Exclude related items from being returned in the response in order to improve performance of the request.",
98552
98552
  "items": {
98553
98553
  "type": "string",
98554
98554
  "enum": [
@@ -135340,7 +135340,6 @@
135340
135340
  "forks",
135341
135341
  "forks_count",
135342
135342
  "git_url",
135343
- "has_downloads",
135344
135343
  "has_issues",
135345
135344
  "has_projects",
135346
135345
  "has_wiki",
@@ -140675,7 +140674,6 @@
140675
140674
  "forks",
140676
140675
  "forks_count",
140677
140676
  "git_url",
140678
- "has_downloads",
140679
140677
  "has_issues",
140680
140678
  "has_projects",
140681
140679
  "has_wiki",
@@ -142966,7 +142964,7 @@
142966
142964
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
142967
142965
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
142968
142966
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
142969
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
142967
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
142970
142968
  "status": "completed",
142971
142969
  "conclusion": "success",
142972
142970
  "started_at": "2020-01-20T17:42:40Z",
@@ -143148,7 +143146,7 @@
143148
143146
  "/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": {
143149
143147
  "post": {
143150
143148
  "summary": "Re-run a job from a workflow run",
143151
- "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.",
143149
+ "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.",
143152
143150
  "tags": [
143153
143151
  "actions"
143154
143152
  ],
@@ -143786,7 +143784,7 @@
143786
143784
  "/repos/{owner}/{repo}/actions/organization-variables": {
143787
143785
  "get": {
143788
143786
  "summary": "List repository organization variables",
143789
- "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.",
143787
+ "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.",
143790
143788
  "tags": [
143791
143789
  "actions"
143792
143790
  ],
@@ -144584,7 +144582,7 @@
144584
144582
  "/repos/{owner}/{repo}/actions/runners": {
144585
144583
  "get": {
144586
144584
  "summary": "List self-hosted runners for a repository",
144587
- "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.",
144585
+ "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.",
144588
144586
  "tags": [
144589
144587
  "actions"
144590
144588
  ],
@@ -144809,7 +144807,7 @@
144809
144807
  "/repos/{owner}/{repo}/actions/runners/downloads": {
144810
144808
  "get": {
144811
144809
  "summary": "List runner applications for a repository",
144812
- "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.",
144810
+ "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.",
144813
144811
  "tags": [
144814
144812
  "actions"
144815
144813
  ],
@@ -144940,7 +144938,7 @@
144940
144938
  "/repos/{owner}/{repo}/actions/runners/registration-token": {
144941
144939
  "post": {
144942
144940
  "summary": "Create a registration token for a repository",
144943
- "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```",
144941
+ "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```",
144944
144942
  "tags": [
144945
144943
  "actions"
144946
144944
  ],
@@ -146246,7 +146244,7 @@
146246
146244
  "/repos/{owner}/{repo}/actions/runners/remove-token": {
146247
146245
  "post": {
146248
146246
  "summary": "Create a remove token for a repository",
146249
- "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```",
146247
+ "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```",
146250
146248
  "tags": [
146251
146249
  "actions"
146252
146250
  ],
@@ -147552,7 +147550,7 @@
147552
147550
  "/repos/{owner}/{repo}/actions/runners/{runner_id}": {
147553
147551
  "get": {
147554
147552
  "summary": "Get a self-hosted runner for a repository",
147555
- "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.",
147553
+ "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.",
147556
147554
  "tags": [
147557
147555
  "actions"
147558
147556
  ],
@@ -147714,7 +147712,7 @@
147714
147712
  },
147715
147713
  "delete": {
147716
147714
  "summary": "Delete a self-hosted runner from a repository",
147717
- "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.",
147715
+ "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.",
147718
147716
  "tags": [
147719
147717
  "actions"
147720
147718
  ],
@@ -147769,7 +147767,7 @@
147769
147767
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels": {
147770
147768
  "get": {
147771
147769
  "summary": "List labels for a self-hosted runner for a repository",
147772
- "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.",
147770
+ "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.",
147773
147771
  "tags": [
147774
147772
  "actions"
147775
147773
  ],
@@ -147922,7 +147920,7 @@
147922
147920
  },
147923
147921
  "post": {
147924
147922
  "summary": "Add custom labels to a self-hosted runner for a repository",
147925
- "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.",
147923
+ "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.",
147926
147924
  "tags": [
147927
147925
  "actions"
147928
147926
  ],
@@ -148139,7 +148137,7 @@
148139
148137
  },
148140
148138
  "put": {
148141
148139
  "summary": "Set custom labels for a self-hosted runner for a repository",
148142
- "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.",
148140
+ "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.",
148143
148141
  "tags": [
148144
148142
  "actions"
148145
148143
  ],
@@ -148356,7 +148354,7 @@
148356
148354
  },
148357
148355
  "delete": {
148358
148356
  "summary": "Remove all custom labels from a self-hosted runner for a repository",
148359
- "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.",
148357
+ "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.",
148360
148358
  "tags": [
148361
148359
  "actions"
148362
148360
  ],
@@ -148506,7 +148504,7 @@
148506
148504
  "/repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}": {
148507
148505
  "delete": {
148508
148506
  "summary": "Remove a custom label from a self-hosted runner for a repository",
148509
- "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.",
148507
+ "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.",
148510
148508
  "tags": [
148511
148509
  "actions"
148512
148510
  ],
@@ -156201,7 +156199,7 @@
156201
156199
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
156202
156200
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
156203
156201
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
156204
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
156202
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
156205
156203
  "status": "completed",
156206
156204
  "conclusion": "success",
156207
156205
  "started_at": "2020-01-20T17:42:40Z",
@@ -156428,7 +156426,7 @@
156428
156426
  "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel": {
156429
156427
  "post": {
156430
156428
  "summary": "Cancel a workflow run",
156431
- "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.",
156429
+ "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.",
156432
156430
  "tags": [
156433
156431
  "actions"
156434
156432
  ],
@@ -156849,7 +156847,7 @@
156849
156847
  "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
156850
156848
  "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
156851
156849
  "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
156852
- "html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
156850
+ "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496",
156853
156851
  "status": "completed",
156854
156852
  "conclusion": "success",
156855
156853
  "started_at": "2020-01-20T17:42:40Z",
@@ -158926,7 +158924,7 @@
158926
158924
  "/repos/{owner}/{repo}/actions/variables": {
158927
158925
  "get": {
158928
158926
  "summary": "List repository variables",
158929
- "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.",
158927
+ "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.",
158930
158928
  "tags": [
158931
158929
  "actions"
158932
158930
  ],
@@ -159070,7 +159068,7 @@
159070
159068
  },
159071
159069
  "post": {
159072
159070
  "summary": "Create a repository variable",
159073
- "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.",
159071
+ "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.",
159074
159072
  "tags": [
159075
159073
  "actions"
159076
159074
  ],
@@ -159164,7 +159162,7 @@
159164
159162
  "/repos/{owner}/{repo}/actions/variables/{name}": {
159165
159163
  "get": {
159166
159164
  "summary": "Get a repository variable",
159167
- "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.",
159165
+ "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.",
159168
159166
  "tags": [
159169
159167
  "actions"
159170
159168
  ],
@@ -159265,7 +159263,7 @@
159265
159263
  },
159266
159264
  "patch": {
159267
159265
  "summary": "Update a repository variable",
159268
- "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.",
159266
+ "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.",
159269
159267
  "tags": [
159270
159268
  "actions"
159271
159269
  ],
@@ -159346,7 +159344,7 @@
159346
159344
  },
159347
159345
  "delete": {
159348
159346
  "summary": "Delete a repository variable",
159349
- "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.",
159347
+ "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.",
159350
159348
  "tags": [
159351
159349
  "actions"
159352
159350
  ],
@@ -185446,7 +185444,7 @@
185446
185444
  },
185447
185445
  "patch": {
185448
185446
  "summary": "Update a check run",
185449
- "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.",
185447
+ "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.",
185450
185448
  "tags": [
185451
185449
  "checks"
185452
185450
  ],
@@ -192477,7 +192475,7 @@
192477
192475
  "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": {
192478
192476
  "get": {
192479
192477
  "summary": "List check runs in a check suite",
192480
- "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.",
192478
+ "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.",
192481
192479
  "tags": [
192482
192480
  "checks"
192483
192481
  ],
@@ -196793,7 +196791,7 @@
196793
196791
  ]
196794
196792
  },
196795
196793
  "languages": {
196796
- "description": "Languages to be analysed.",
196794
+ "description": "Languages to be analyzed.",
196797
196795
  "type": "array",
196798
196796
  "items": {
196799
196797
  "type": "string",
@@ -197046,7 +197044,7 @@
197046
197044
  }
197047
197045
  },
197048
197046
  "403": {
197049
- "description": "Response if GitHub Advanced Security is not enabled for this repository",
197047
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
197050
197048
  "content": {
197051
197049
  "application/json": {
197052
197050
  "schema": {
@@ -208180,7 +208178,7 @@
208180
208178
  "/repos/{owner}/{repo}/commits/{ref}/check-runs": {
208181
208179
  "get": {
208182
208180
  "summary": "List check runs for a Git reference",
208183
- "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.",
208181
+ "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.",
208184
208182
  "tags": [
208185
208183
  "checks"
208186
208184
  ],
@@ -209237,7 +209235,7 @@
209237
209235
  "/repos/{owner}/{repo}/commits/{ref}/check-suites": {
209238
209236
  "get": {
209239
209237
  "summary": "List check suites for a Git reference",
209240
- "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.",
209238
+ "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`.",
209241
209239
  "tags": [
209242
209240
  "checks"
209243
209241
  ],
@@ -226946,11 +226944,11 @@
226946
226944
  "content": {
226947
226945
  "application/json": {
226948
226946
  "schema": {
226949
- "title": "Deployment branch policy name pattern",
226947
+ "title": "Deployment branch and tag policy name pattern",
226950
226948
  "type": "object",
226951
226949
  "properties": {
226952
226950
  "name": {
226953
- "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).",
226951
+ "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).",
226954
226952
  "type": "string",
226955
226953
  "example": "release/*"
226956
226954
  }
@@ -227040,7 +227038,7 @@
227040
227038
  "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": {
227041
227039
  "get": {
227042
227040
  "summary": "Get a deployment branch policy",
227043
- "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.",
227041
+ "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.",
227044
227042
  "tags": [
227045
227043
  "repos"
227046
227044
  ],
@@ -235967,7 +235965,6 @@
235967
235965
  "forks",
235968
235966
  "forks_count",
235969
235967
  "git_url",
235970
- "has_downloads",
235971
235968
  "has_issues",
235972
235969
  "has_projects",
235973
235970
  "has_wiki",
@@ -240805,7 +240802,7 @@
240805
240802
  },
240806
240803
  {
240807
240804
  "name": "hook_id",
240808
- "description": "The unique identifier of the hook.",
240805
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
240809
240806
  "in": "path",
240810
240807
  "required": true,
240811
240808
  "schema": {
@@ -241078,7 +241075,7 @@
241078
241075
  },
241079
241076
  {
241080
241077
  "name": "hook_id",
241081
- "description": "The unique identifier of the hook.",
241078
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
241082
241079
  "in": "path",
241083
241080
  "required": true,
241084
241081
  "schema": {
@@ -241516,7 +241513,7 @@
241516
241513
  },
241517
241514
  {
241518
241515
  "name": "hook_id",
241519
- "description": "The unique identifier of the hook.",
241516
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
241520
241517
  "in": "path",
241521
241518
  "required": true,
241522
241519
  "schema": {
@@ -241597,7 +241594,7 @@
241597
241594
  },
241598
241595
  {
241599
241596
  "name": "hook_id",
241600
- "description": "The unique identifier of the hook.",
241597
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
241601
241598
  "in": "path",
241602
241599
  "required": true,
241603
241600
  "schema": {
@@ -241699,7 +241696,7 @@
241699
241696
  },
241700
241697
  {
241701
241698
  "name": "hook_id",
241702
- "description": "The unique identifier of the hook.",
241699
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
241703
241700
  "in": "path",
241704
241701
  "required": true,
241705
241702
  "schema": {
@@ -241853,7 +241850,7 @@
241853
241850
  },
241854
241851
  {
241855
241852
  "name": "hook_id",
241856
- "description": "The unique identifier of the hook.",
241853
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
241857
241854
  "in": "path",
241858
241855
  "required": true,
241859
241856
  "schema": {
@@ -242181,7 +242178,7 @@
242181
242178
  },
242182
242179
  {
242183
242180
  "name": "hook_id",
242184
- "description": "The unique identifier of the hook.",
242181
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
242185
242182
  "in": "path",
242186
242183
  "required": true,
242187
242184
  "schema": {
@@ -242552,7 +242549,7 @@
242552
242549
  },
242553
242550
  {
242554
242551
  "name": "hook_id",
242555
- "description": "The unique identifier of the hook.",
242552
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
242556
242553
  "in": "path",
242557
242554
  "required": true,
242558
242555
  "schema": {
@@ -242756,7 +242753,7 @@
242756
242753
  },
242757
242754
  {
242758
242755
  "name": "hook_id",
242759
- "description": "The unique identifier of the hook.",
242756
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
242760
242757
  "in": "path",
242761
242758
  "required": true,
242762
242759
  "schema": {
@@ -242837,7 +242834,7 @@
242837
242834
  },
242838
242835
  {
242839
242836
  "name": "hook_id",
242840
- "description": "The unique identifier of the hook.",
242837
+ "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.",
242841
242838
  "in": "path",
242842
242839
  "required": true,
242843
242840
  "schema": {
@@ -317079,7 +317076,7 @@
317079
317076
  "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": {
317080
317077
  "get": {
317081
317078
  "summary": "List reactions for a pull request review comment",
317082
- "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).",
317079
+ "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).",
317083
317080
  "tags": [
317084
317081
  "reactions"
317085
317082
  ],
@@ -357655,7 +357652,7 @@
357655
357652
  "/repositories/{repository_id}/environments/{environment_name}/variables": {
357656
357653
  "get": {
357657
357654
  "summary": "List environment variables",
357658
- "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.",
357655
+ "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.",
357659
357656
  "tags": [
357660
357657
  "actions"
357661
357658
  ],
@@ -357799,7 +357796,7 @@
357799
357796
  },
357800
357797
  "post": {
357801
357798
  "summary": "Create an environment variable",
357802
- "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.",
357799
+ "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.",
357803
357800
  "tags": [
357804
357801
  "actions"
357805
357802
  ],
@@ -357893,7 +357890,7 @@
357893
357890
  "/repositories/{repository_id}/environments/{environment_name}/variables/{name}": {
357894
357891
  "get": {
357895
357892
  "summary": "Get an environment variable",
357896
- "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.",
357893
+ "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.",
357897
357894
  "tags": [
357898
357895
  "actions"
357899
357896
  ],
@@ -357994,7 +357991,7 @@
357994
357991
  },
357995
357992
  "patch": {
357996
357993
  "summary": "Update an environment variable",
357997
- "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.",
357994
+ "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.",
357998
357995
  "tags": [
357999
357996
  "actions"
358000
357997
  ],
@@ -358075,7 +358072,7 @@
358075
358072
  },
358076
358073
  "delete": {
358077
358074
  "summary": "Delete an environment variable",
358078
- "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.",
358075
+ "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.",
358079
358076
  "tags": [
358080
358077
  "actions"
358081
358078
  ],
@@ -469742,7 +469739,7 @@
469742
469739
  "format": "uri"
469743
469740
  },
469744
469741
  "conclusion": {
469745
- "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`.",
469742
+ "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`.",
469746
469743
  "type": "string",
469747
469744
  "nullable": true,
469748
469745
  "enum": [
@@ -472096,7 +472093,7 @@
472096
472093
  "format": "uri"
472097
472094
  },
472098
472095
  "conclusion": {
472099
- "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.",
472096
+ "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.",
472100
472097
  "type": "string",
472101
472098
  "nullable": true,
472102
472099
  "enum": [
@@ -474443,7 +474440,7 @@
474443
474440
  "format": "uri"
474444
474441
  },
474445
474442
  "conclusion": {
474446
- "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.",
474443
+ "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.",
474447
474444
  "type": "string",
474448
474445
  "nullable": true,
474449
474446
  "enum": [
@@ -476421,7 +476418,7 @@
476421
476418
  ]
476422
476419
  },
476423
476420
  "dismissed_reason": {
476424
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
476421
+ "description": "The reason for dismissing or closing the alert.",
476425
476422
  "type": "string",
476426
476423
  "nullable": true,
476427
476424
  "enum": [
@@ -478313,7 +478310,7 @@
478313
478310
  ]
478314
478311
  },
478315
478312
  "dismissed_reason": {
478316
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
478313
+ "description": "The reason for dismissing or closing the alert.",
478317
478314
  "type": "string",
478318
478315
  "nullable": true,
478319
478316
  "enum": [
@@ -482069,7 +482066,7 @@
482069
482066
  ]
482070
482067
  },
482071
482068
  "dismissed_reason": {
482072
- "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
482069
+ "description": "The reason for dismissing or closing the alert.",
482073
482070
  "type": "string",
482074
482071
  "nullable": true,
482075
482072
  "enum": [
@@ -518107,7 +518104,7 @@
518107
518104
  "format": "date-time"
518108
518105
  },
518109
518106
  "conclusion": {
518110
- "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.",
518107
+ "description": "The result of the completed check run. This value will be `null` until the check run has completed.",
518111
518108
  "type": "string",
518112
518109
  "nullable": true,
518113
518110
  "enum": [
@@ -621609,6 +621606,10 @@
621609
621606
  "type": "string",
621610
621607
  "format": "uri"
621611
621608
  },
621609
+ "has_discussions": {
621610
+ "description": "Whether the repository has discussions enabled.",
621611
+ "type": "boolean"
621612
+ },
621612
621613
  "has_downloads": {
621613
621614
  "description": "Whether downloads are enabled.",
621614
621615
  "type": "boolean",
@@ -621965,6 +621966,10 @@
621965
621966
  },
621966
621967
  "watchers_count": {
621967
621968
  "type": "integer"
621969
+ },
621970
+ "web_commit_signoff_required": {
621971
+ "description": "Whether to require commit signoff.",
621972
+ "type": "boolean"
621968
621973
  }
621969
621974
  },
621970
621975
  "required": [
@@ -920930,7 +920935,6 @@
920930
920935
  "forks",
920931
920936
  "forks_count",
920932
920937
  "git_url",
920933
- "has_downloads",
920934
920938
  "has_issues",
920935
920939
  "has_projects",
920936
920940
  "has_wiki",
@@ -947132,7 +947136,7 @@
947132
947136
  }
947133
947137
  },
947134
947138
  "x-github": {
947135
- "githubCloudOnly": false,
947139
+ "githubCloudOnly": true,
947136
947140
  "category": "webhooks",
947137
947141
  "subcategory": "user",
947138
947142
  "supported-webhook-types": [
@@ -948824,7 +948828,7 @@
948824
948828
  }
948825
948829
  },
948826
948830
  "x-github": {
948827
- "githubCloudOnly": false,
948831
+ "githubCloudOnly": true,
948828
948832
  "category": "webhooks",
948829
948833
  "subcategory": "user",
948830
948834
  "supported-webhook-types": [