@octokit/openapi 6.3.1 → 6.6.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.
Files changed (28) hide show
  1. package/generated/api.github.com.deref.json +79 -8
  2. package/generated/api.github.com.json +75 -9
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +50 -3
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
  7. package/generated/ghes-3.2.deref.json +61 -5
  8. package/generated/ghes-3.2.json +64 -5
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +8 -4
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  12. package/generated/ghes-3.3.deref.json +61 -5
  13. package/generated/ghes-3.3.json +64 -5
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +73 -9
  17. package/generated/ghes-3.4.json +68 -9
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +11008 -112568
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +220 -574
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +147 -263
  21. package/generated/ghes-3.5.deref.json +2645 -297
  22. package/generated/ghes-3.5.json +3178 -609
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +41 -3
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +220 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +147 -1
  26. package/generated/github.ae.deref.json +3814 -315
  27. package/generated/github.ae.json +4253 -557
  28. package/package.json +7 -4
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -105140,6 +105140,17 @@
105140
105140
  "used": { "type": "integer" }
105141
105141
  },
105142
105142
  "required": ["limit", "remaining", "reset", "used"]
105143
+ },
105144
+ "dependency_snapshots": {
105145
+ "title": "Rate Limit",
105146
+ "type": "object",
105147
+ "properties": {
105148
+ "limit": { "type": "integer" },
105149
+ "remaining": { "type": "integer" },
105150
+ "reset": { "type": "integer" },
105151
+ "used": { "type": "integer" }
105152
+ },
105153
+ "required": ["limit", "remaining", "reset", "used"]
105143
105154
  }
105144
105155
  },
105145
105156
  "required": ["core", "search"]
@@ -130434,7 +130445,7 @@
130434
130445
  },
130435
130446
  "post": {
130436
130447
  "summary": "Review pending deployments for a workflow run",
130437
- "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nAnyone with read access to the repository contents and deployments can use this endpoint.",
130448
+ "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
130438
130449
  "tags": ["actions"],
130439
130450
  "operationId": "actions/review-pending-deployments-for-run",
130440
130451
  "externalDocs": {
@@ -130971,7 +130982,7 @@
130971
130982
  },
130972
130983
  "x-github": {
130973
130984
  "githubCloudOnly": false,
130974
- "enabledForGitHubApps": true,
130985
+ "enabledForGitHubApps": false,
130975
130986
  "category": "actions",
130976
130987
  "subcategory": "workflow-runs"
130977
130988
  },
@@ -164587,13 +164598,13 @@
164587
164598
  },
164588
164599
  {
164589
164600
  "name": "sort",
164590
- "description": "The property by which to sort the results.",
164601
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
164591
164602
  "in": "query",
164592
164603
  "required": false,
164593
164604
  "schema": {
164594
164605
  "type": "string",
164595
- "enum": ["created", "updated", "number"],
164596
- "default": "number"
164606
+ "enum": ["created", "number", "updated"],
164607
+ "default": "created"
164597
164608
  }
164598
164609
  },
164599
164610
  {
@@ -166683,7 +166694,6 @@
166683
166694
  "200": {
166684
166695
  "description": "Response",
166685
166696
  "content": {
166686
- "application/json+sarif": { "schema": { "type": "string" } },
166687
166697
  "application/json": {
166688
166698
  "schema": {
166689
166699
  "type": "object",
@@ -166789,7 +166799,7 @@
166789
166799
  },
166790
166800
  "examples": {
166791
166801
  "response": {
166792
- "summary": "Default response",
166802
+ "summary": "application/json response",
166793
166803
  "value": {
166794
166804
  "ref": "refs/heads/main",
166795
166805
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -166813,6 +166823,54 @@
166813
166823
  }
166814
166824
  }
166815
166825
  }
166826
+ },
166827
+ "application/json+sarif": {
166828
+ "schema": { "type": "object", "additionalProperties": true },
166829
+ "examples": {
166830
+ "response": {
166831
+ "summary": "application/json+sarif response",
166832
+ "value": {
166833
+ "runs": [
166834
+ {
166835
+ "tool": {
166836
+ "driver": {
166837
+ "name": "CodeQL",
166838
+ "organization": "GitHub",
166839
+ "semanticVersion": "1.0.0",
166840
+ "rules": [
166841
+ {
166842
+ "id": "js/unused-local-variable",
166843
+ "name": "js/unused-local-variable"
166844
+ }
166845
+ ]
166846
+ }
166847
+ },
166848
+ "results": [
166849
+ {
166850
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
166851
+ "message": { "text": "Unused variable foo." },
166852
+ "locations": [
166853
+ {
166854
+ "physicalLocation": {
166855
+ "artifactLocation": { "uri": "file1.js" },
166856
+ "region": { "startLine": 1 }
166857
+ }
166858
+ }
166859
+ ],
166860
+ "ruleId": "js/unused-local-variable",
166861
+ "properties": [
166862
+ { "github/alertNumber": 2 },
166863
+ {
166864
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
166865
+ }
166866
+ ]
166867
+ }
166868
+ ]
166869
+ }
166870
+ ]
166871
+ }
166872
+ }
166873
+ }
166816
166874
  }
166817
166875
  }
166818
166876
  },
@@ -167114,6 +167172,15 @@
167114
167172
  }
167115
167173
  },
167116
167174
  "required": ["commit_sha", "ref", "sarif"]
167175
+ },
167176
+ "examples": {
167177
+ "default": {
167178
+ "value": {
167179
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
167180
+ "ref": "refs/heads/master",
167181
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
167182
+ }
167183
+ }
167117
167184
  }
167118
167185
  }
167119
167186
  }
@@ -203376,6 +203443,10 @@
203376
203443
  "organization": {
203377
203444
  "type": "string",
203378
203445
  "description": "Optional parameter to specify the organization name if forking into an organization."
203446
+ },
203447
+ "name": {
203448
+ "type": "string",
203449
+ "description": "When forking from an existing repository, a new name for the fork."
203379
203450
  }
203380
203451
  }
203381
203452
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -16944,7 +16944,7 @@
16944
16944
  },
16945
16945
  "post": {
16946
16946
  "summary": "Review pending deployments for a workflow run",
16947
- "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nAnyone with read access to the repository contents and deployments can use this endpoint.",
16947
+ "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
16948
16948
  "tags": ["actions"],
16949
16949
  "operationId": "actions/review-pending-deployments-for-run",
16950
16950
  "externalDocs": {
@@ -17006,7 +17006,7 @@
17006
17006
  },
17007
17007
  "x-github": {
17008
17008
  "githubCloudOnly": false,
17009
- "enabledForGitHubApps": true,
17009
+ "enabledForGitHubApps": false,
17010
17010
  "category": "actions",
17011
17011
  "subcategory": "workflow-runs"
17012
17012
  },
@@ -21006,13 +21006,13 @@
21006
21006
  { "$ref": "#/components/parameters/direction" },
21007
21007
  {
21008
21008
  "name": "sort",
21009
- "description": "The property by which to sort the results.",
21009
+ "description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
21010
21010
  "in": "query",
21011
21011
  "required": false,
21012
21012
  "schema": {
21013
21013
  "type": "string",
21014
- "enum": ["created", "updated", "number"],
21015
- "default": "number"
21014
+ "enum": ["created", "number", "updated"],
21015
+ "default": "created"
21016
21016
  }
21017
21017
  },
21018
21018
  {
@@ -21342,7 +21342,6 @@
21342
21342
  "200": {
21343
21343
  "description": "Response",
21344
21344
  "content": {
21345
- "application/json+sarif": { "schema": { "type": "string" } },
21346
21345
  "application/json": {
21347
21346
  "schema": {
21348
21347
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -21352,6 +21351,14 @@
21352
21351
  "$ref": "#/components/examples/code-scanning-analysis-default"
21353
21352
  }
21354
21353
  }
21354
+ },
21355
+ "application/json+sarif": {
21356
+ "schema": { "type": "object", "additionalProperties": true },
21357
+ "examples": {
21358
+ "response": {
21359
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
21360
+ }
21361
+ }
21355
21362
  }
21356
21363
  }
21357
21364
  },
@@ -21471,6 +21478,15 @@
21471
21478
  }
21472
21479
  },
21473
21480
  "required": ["commit_sha", "ref", "sarif"]
21481
+ },
21482
+ "examples": {
21483
+ "default": {
21484
+ "value": {
21485
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
21486
+ "ref": "refs/heads/master",
21487
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWB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WX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
21488
+ }
21489
+ }
21474
21490
  }
21475
21491
  }
21476
21492
  }
@@ -24927,6 +24943,10 @@
24927
24943
  "organization": {
24928
24944
  "type": "string",
24929
24945
  "description": "Optional parameter to specify the organization name if forking into an organization."
24946
+ },
24947
+ "name": {
24948
+ "type": "string",
24949
+ "description": "When forking from an existing repository, a new name for the fork."
24930
24950
  }
24931
24951
  }
24932
24952
  }
@@ -52537,7 +52557,10 @@
52537
52557
  "actions_runner_registration": {
52538
52558
  "$ref": "#/components/schemas/rate-limit"
52539
52559
  },
52540
- "scim": { "$ref": "#/components/schemas/rate-limit" }
52560
+ "scim": { "$ref": "#/components/schemas/rate-limit" },
52561
+ "dependency_snapshots": {
52562
+ "$ref": "#/components/schemas/rate-limit"
52563
+ }
52541
52564
  },
52542
52565
  "required": ["core", "search"]
52543
52566
  },
@@ -74904,7 +74927,7 @@
74904
74927
  ]
74905
74928
  },
74906
74929
  "code-scanning-analysis-default": {
74907
- "summary": "Default response",
74930
+ "summary": "application/json response",
74908
74931
  "value": {
74909
74932
  "ref": "refs/heads/main",
74910
74933
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -74923,6 +74946,49 @@
74923
74946
  "warning": ""
74924
74947
  }
74925
74948
  },
74949
+ "code-scanning-analysis-sarif": {
74950
+ "summary": "application/json+sarif response",
74951
+ "value": {
74952
+ "runs": [
74953
+ {
74954
+ "tool": {
74955
+ "driver": {
74956
+ "name": "CodeQL",
74957
+ "organization": "GitHub",
74958
+ "semanticVersion": "1.0.0",
74959
+ "rules": [
74960
+ {
74961
+ "id": "js/unused-local-variable",
74962
+ "name": "js/unused-local-variable"
74963
+ }
74964
+ ]
74965
+ }
74966
+ },
74967
+ "results": [
74968
+ {
74969
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
74970
+ "message": { "text": "Unused variable foo." },
74971
+ "locations": [
74972
+ {
74973
+ "physicalLocation": {
74974
+ "artifactLocation": { "uri": "file1.js" },
74975
+ "region": { "startLine": 1 }
74976
+ }
74977
+ }
74978
+ ],
74979
+ "ruleId": "js/unused-local-variable",
74980
+ "properties": [
74981
+ { "github/alertNumber": 2 },
74982
+ {
74983
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
74984
+ }
74985
+ ]
74986
+ }
74987
+ ]
74988
+ }
74989
+ ]
74990
+ }
74991
+ },
74926
74992
  "code-scanning-analysis-deletion": {
74927
74993
  "summary": "Default response",
74928
74994
  "value": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -2466,7 +2466,6 @@
2466
2466
  "200": {
2467
2467
  "description": "Response",
2468
2468
  "content": {
2469
- "application/json+sarif": { "schema": { "type": "string" } },
2470
2469
  "application/json": {
2471
2470
  "schema": {
2472
2471
  "type": "object",
@@ -2573,7 +2572,7 @@
2573
2572
  },
2574
2573
  "examples": {
2575
2574
  "response": {
2576
- "summary": "Default response",
2575
+ "summary": "application/json response",
2577
2576
  "value": {
2578
2577
  "ref": "refs/heads/main",
2579
2578
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -2597,6 +2596,54 @@
2597
2596
  }
2598
2597
  }
2599
2598
  }
2599
+ },
2600
+ "application/json+sarif": {
2601
+ "schema": { "type": "object", "additionalProperties": true },
2602
+ "examples": {
2603
+ "response": {
2604
+ "summary": "application/json+sarif response",
2605
+ "value": {
2606
+ "runs": [
2607
+ {
2608
+ "tool": {
2609
+ "driver": {
2610
+ "name": "CodeQL",
2611
+ "organization": "GitHub",
2612
+ "semanticVersion": "1.0.0",
2613
+ "rules": [
2614
+ {
2615
+ "id": "js/unused-local-variable",
2616
+ "name": "js/unused-local-variable"
2617
+ }
2618
+ ]
2619
+ }
2620
+ },
2621
+ "results": [
2622
+ {
2623
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
2624
+ "message": { "text": "Unused variable foo." },
2625
+ "locations": [
2626
+ {
2627
+ "physicalLocation": {
2628
+ "artifactLocation": { "uri": "file1.js" },
2629
+ "region": { "startLine": 1 }
2630
+ }
2631
+ }
2632
+ ],
2633
+ "ruleId": "js/unused-local-variable",
2634
+ "properties": [
2635
+ { "github/alertNumber": 2 },
2636
+ {
2637
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
2638
+ }
2639
+ ]
2640
+ }
2641
+ ]
2642
+ }
2643
+ ]
2644
+ }
2645
+ }
2646
+ }
2600
2647
  }
2601
2648
  }
2602
2649
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -717,7 +717,6 @@
717
717
  "200": {
718
718
  "description": "Response",
719
719
  "content": {
720
- "application/json+sarif": { "schema": { "type": "string" } },
721
720
  "application/json": {
722
721
  "schema": {
723
722
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -727,6 +726,14 @@
727
726
  "$ref": "#/components/examples/code-scanning-analysis-default"
728
727
  }
729
728
  }
729
+ },
730
+ "application/json+sarif": {
731
+ "schema": { "type": "object", "additionalProperties": true },
732
+ "examples": {
733
+ "response": {
734
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
735
+ }
736
+ }
730
737
  }
731
738
  }
732
739
  },
@@ -2775,7 +2782,7 @@
2775
2782
  ]
2776
2783
  },
2777
2784
  "code-scanning-analysis-default": {
2778
- "summary": "Default response",
2785
+ "summary": "application/json response",
2779
2786
  "value": {
2780
2787
  "ref": "refs/heads/main",
2781
2788
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -2794,6 +2801,49 @@
2794
2801
  "warning": ""
2795
2802
  }
2796
2803
  },
2804
+ "code-scanning-analysis-sarif": {
2805
+ "summary": "application/json+sarif response",
2806
+ "value": {
2807
+ "runs": [
2808
+ {
2809
+ "tool": {
2810
+ "driver": {
2811
+ "name": "CodeQL",
2812
+ "organization": "GitHub",
2813
+ "semanticVersion": "1.0.0",
2814
+ "rules": [
2815
+ {
2816
+ "id": "js/unused-local-variable",
2817
+ "name": "js/unused-local-variable"
2818
+ }
2819
+ ]
2820
+ }
2821
+ },
2822
+ "results": [
2823
+ {
2824
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
2825
+ "message": { "text": "Unused variable foo." },
2826
+ "locations": [
2827
+ {
2828
+ "physicalLocation": {
2829
+ "artifactLocation": { "uri": "file1.js" },
2830
+ "region": { "startLine": 1 }
2831
+ }
2832
+ }
2833
+ ],
2834
+ "ruleId": "js/unused-local-variable",
2835
+ "properties": [
2836
+ { "github/alertNumber": 2 },
2837
+ {
2838
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
2839
+ }
2840
+ ]
2841
+ }
2842
+ ]
2843
+ }
2844
+ ]
2845
+ }
2846
+ },
2797
2847
  "reaction": {
2798
2848
  "value": {
2799
2849
  "id": 1,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.3.1",
4
+ "version": "6.6.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -103797,7 +103797,7 @@
103797
103797
  },
103798
103798
  "post": {
103799
103799
  "summary": "Review pending deployments for a workflow run",
103800
- "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nAnyone with read access to the repository contents and deployments can use this endpoint.",
103800
+ "description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
103801
103801
  "tags": ["actions"],
103802
103802
  "operationId": "actions/review-pending-deployments-for-run",
103803
103803
  "externalDocs": {
@@ -104334,7 +104334,7 @@
104334
104334
  },
104335
104335
  "x-github": {
104336
104336
  "githubCloudOnly": false,
104337
- "enabledForGitHubApps": true,
104337
+ "enabledForGitHubApps": false,
104338
104338
  "category": "actions",
104339
104339
  "subcategory": "workflow-runs"
104340
104340
  },
@@ -135098,7 +135098,6 @@
135098
135098
  "200": {
135099
135099
  "description": "Response",
135100
135100
  "content": {
135101
- "application/json+sarif": { "schema": { "type": "string" } },
135102
135101
  "application/json": {
135103
135102
  "schema": {
135104
135103
  "type": "object",
@@ -135205,7 +135204,7 @@
135205
135204
  },
135206
135205
  "examples": {
135207
135206
  "response": {
135208
- "summary": "Default response",
135207
+ "summary": "application/json response",
135209
135208
  "value": {
135210
135209
  "ref": "refs/heads/main",
135211
135210
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -135229,6 +135228,54 @@
135229
135228
  }
135230
135229
  }
135231
135230
  }
135231
+ },
135232
+ "application/json+sarif": {
135233
+ "schema": { "type": "object", "additionalProperties": true },
135234
+ "examples": {
135235
+ "response": {
135236
+ "summary": "application/json+sarif response",
135237
+ "value": {
135238
+ "runs": [
135239
+ {
135240
+ "tool": {
135241
+ "driver": {
135242
+ "name": "CodeQL",
135243
+ "organization": "GitHub",
135244
+ "semanticVersion": "1.0.0",
135245
+ "rules": [
135246
+ {
135247
+ "id": "js/unused-local-variable",
135248
+ "name": "js/unused-local-variable"
135249
+ }
135250
+ ]
135251
+ }
135252
+ },
135253
+ "results": [
135254
+ {
135255
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
135256
+ "message": { "text": "Unused variable foo." },
135257
+ "locations": [
135258
+ {
135259
+ "physicalLocation": {
135260
+ "artifactLocation": { "uri": "file1.js" },
135261
+ "region": { "startLine": 1 }
135262
+ }
135263
+ }
135264
+ ],
135265
+ "ruleId": "js/unused-local-variable",
135266
+ "properties": [
135267
+ { "github/alertNumber": 2 },
135268
+ {
135269
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
135270
+ }
135271
+ ]
135272
+ }
135273
+ ]
135274
+ }
135275
+ ]
135276
+ }
135277
+ }
135278
+ }
135232
135279
  }
135233
135280
  }
135234
135281
  },
@@ -135530,6 +135577,15 @@
135530
135577
  }
135531
135578
  },
135532
135579
  "required": ["commit_sha", "ref", "sarif"]
135580
+ },
135581
+ "examples": {
135582
+ "default": {
135583
+ "value": {
135584
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
135585
+ "ref": "refs/heads/master",
135586
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjy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