Skip to content

Commit 22dc3a0

Browse files
authored
feat: new dismissed_comment and fixed_at attributes on code scanning alerts, description updates, remove GHES 3.10 and 3.11, remove GHAE (#451)
BREAKING CHANGE: remove GHES 3.10 and 3.11 and GHAE BREAKING CHANGE: The operation ID for the "List accepted assignments for an assignment" API has been changed due to a typo
1 parent e46eaf2 commit 22dc3a0

35 files changed

+463
-1129043
lines changed

cache/api.github.com.json

+47-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "17.1.1",
4+
"version": "18.0.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": {
@@ -2427,7 +2427,7 @@
24272427
"tags": [
24282428
"classroom"
24292429
],
2430-
"operationId": "classroom/list-accepted-assigments-for-an-assignment",
2430+
"operationId": "classroom/list-accepted-assignments-for-an-assignment",
24312431
"externalDocs": {
24322432
"description": "API method documentation",
24332433
"url": "https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment"
@@ -143734,6 +143734,9 @@
143734143734
"id"
143735143735
]
143736143736
},
143737+
"dismissed_comment": {
143738+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
143739+
},
143737143740
"dismissed_reason": {
143738143741
"description": "The reason for dismissing or closing the alert.",
143739143742
"type": "string",
@@ -143745,6 +143748,10 @@
143745143748
null
143746143749
]
143747143750
},
143751+
"fixed_at": {
143752+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
143753+
"nullable": true
143754+
},
143748143755
"html_url": {
143749143756
"description": "The GitHub URL of the alert resource.",
143750143757
"type": "string",
@@ -143860,7 +143867,8 @@
143860143867
]
143861143868
},
143862143869
"state": {
143863-
"description": "State of a code scanning alert.",
143870+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
143871+
"nullable": true,
143864143872
"type": "string",
143865143873
"enum": [
143866143874
"open",
@@ -144054,6 +144062,9 @@
144054144062
"id"
144055144063
]
144056144064
},
144065+
"dismissed_comment": {
144066+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
144067+
},
144057144068
"dismissed_reason": {
144058144069
"description": "The reason for dismissing or closing the alert.",
144059144070
"type": "string",
@@ -144065,6 +144076,10 @@
144065144076
null
144066144077
]
144067144078
},
144079+
"fixed_at": {
144080+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
144081+
"nullable": true
144082+
},
144068144083
"html_url": {
144069144084
"description": "The GitHub URL of the alert resource.",
144070144085
"type": "string",
@@ -144315,6 +144330,7 @@
144315144330
"nullable": true
144316144331
},
144317144332
"fixed_at": {
144333+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
144318144334
"nullable": true
144319144335
},
144320144336
"html_url": {
@@ -144457,7 +144473,7 @@
144457144473
]
144458144474
},
144459144475
"state": {
144460-
"description": "State of a code scanning alert.",
144476+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
144461144477
"type": "string",
144462144478
"nullable": true,
144463144479
"enum": [
@@ -144661,6 +144677,9 @@
144661144677
"id"
144662144678
]
144663144679
},
144680+
"dismissed_comment": {
144681+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
144682+
},
144664144683
"dismissed_reason": {
144665144684
"description": "The reason for dismissing or closing the alert.",
144666144685
"type": "string",
@@ -144672,6 +144691,10 @@
144672144691
null
144673144692
]
144674144693
},
144694+
"fixed_at": {
144695+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
144696+
"nullable": true
144697+
},
144675144698
"html_url": {
144676144699
"description": "The GitHub URL of the alert resource.",
144677144700
"type": "string",
@@ -144813,7 +144836,8 @@
144813144836
]
144814144837
},
144815144838
"state": {
144816-
"description": "State of a code scanning alert.",
144839+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
144840+
"nullable": true,
144817144841
"type": "string",
144818144842
"enum": [
144819144843
"fixed"
@@ -144919,11 +144943,18 @@
144919144943
"type": "object",
144920144944
"nullable": true
144921144945
},
144946+
"dismissed_comment": {
144947+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
144948+
},
144922144949
"dismissed_reason": {
144923144950
"description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
144924144951
"type": "string",
144925144952
"nullable": true
144926144953
},
144954+
"fixed_at": {
144955+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
144956+
"nullable": true
144957+
},
144927144958
"html_url": {
144928144959
"description": "The GitHub URL of the alert resource.",
144929144960
"type": "string",
@@ -145061,7 +145092,8 @@
145061145092
]
145062145093
},
145063145094
"state": {
145064-
"description": "State of a code scanning alert.",
145095+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
145096+
"nullable": true,
145065145097
"type": "string",
145066145098
"enum": [
145067145099
"open",
@@ -145170,10 +145202,17 @@
145170145202
"dismissed_by": {
145171145203
"nullable": true
145172145204
},
145205+
"dismissed_comment": {
145206+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
145207+
},
145173145208
"dismissed_reason": {
145174145209
"description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
145175145210
"nullable": true
145176145211
},
145212+
"fixed_at": {
145213+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
145214+
"nullable": true
145215+
},
145177145216
"html_url": {
145178145217
"description": "The GitHub URL of the alert resource.",
145179145218
"type": "string",
@@ -145289,7 +145328,8 @@
145289145328
]
145290145329
},
145291145330
"state": {
145292-
"description": "State of a code scanning alert.",
145331+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
145332+
"nullable": true,
145293145333
"type": "string",
145294145334
"enum": [
145295145335
"open",

cache/ghec.json

+47-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "17.1.1",
4+
"version": "18.0.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": {
@@ -2443,7 +2443,7 @@
24432443
"tags": [
24442444
"classroom"
24452445
],
2446-
"operationId": "classroom/list-accepted-assigments-for-an-assignment",
2446+
"operationId": "classroom/list-accepted-assignments-for-an-assignment",
24472447
"externalDocs": {
24482448
"description": "API method documentation",
24492449
"url": "https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-accepted-assignments-for-an-assignment"
@@ -156598,6 +156598,9 @@
156598156598
"id"
156599156599
]
156600156600
},
156601+
"dismissed_comment": {
156602+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
156603+
},
156601156604
"dismissed_reason": {
156602156605
"description": "The reason for dismissing or closing the alert.",
156603156606
"type": "string",
@@ -156609,6 +156612,10 @@
156609156612
null
156610156613
]
156611156614
},
156615+
"fixed_at": {
156616+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
156617+
"nullable": true
156618+
},
156612156619
"html_url": {
156613156620
"description": "The GitHub URL of the alert resource.",
156614156621
"type": "string",
@@ -156724,7 +156731,8 @@
156724156731
]
156725156732
},
156726156733
"state": {
156727-
"description": "State of a code scanning alert.",
156734+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
156735+
"nullable": true,
156728156736
"type": "string",
156729156737
"enum": [
156730156738
"open",
@@ -156918,6 +156926,9 @@
156918156926
"id"
156919156927
]
156920156928
},
156929+
"dismissed_comment": {
156930+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
156931+
},
156921156932
"dismissed_reason": {
156922156933
"description": "The reason for dismissing or closing the alert.",
156923156934
"type": "string",
@@ -156929,6 +156940,10 @@
156929156940
null
156930156941
]
156931156942
},
156943+
"fixed_at": {
156944+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
156945+
"nullable": true
156946+
},
156932156947
"html_url": {
156933156948
"description": "The GitHub URL of the alert resource.",
156934156949
"type": "string",
@@ -157179,6 +157194,7 @@
157179157194
"nullable": true
157180157195
},
157181157196
"fixed_at": {
157197+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
157182157198
"nullable": true
157183157199
},
157184157200
"html_url": {
@@ -157321,7 +157337,7 @@
157321157337
]
157322157338
},
157323157339
"state": {
157324-
"description": "State of a code scanning alert.",
157340+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
157325157341
"type": "string",
157326157342
"nullable": true,
157327157343
"enum": [
@@ -157525,6 +157541,9 @@
157525157541
"id"
157526157542
]
157527157543
},
157544+
"dismissed_comment": {
157545+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
157546+
},
157528157547
"dismissed_reason": {
157529157548
"description": "The reason for dismissing or closing the alert.",
157530157549
"type": "string",
@@ -157536,6 +157555,10 @@
157536157555
null
157537157556
]
157538157557
},
157558+
"fixed_at": {
157559+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
157560+
"nullable": true
157561+
},
157539157562
"html_url": {
157540157563
"description": "The GitHub URL of the alert resource.",
157541157564
"type": "string",
@@ -157677,7 +157700,8 @@
157677157700
]
157678157701
},
157679157702
"state": {
157680-
"description": "State of a code scanning alert.",
157703+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
157704+
"nullable": true,
157681157705
"type": "string",
157682157706
"enum": [
157683157707
"fixed"
@@ -157783,11 +157807,18 @@
157783157807
"type": "object",
157784157808
"nullable": true
157785157809
},
157810+
"dismissed_comment": {
157811+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
157812+
},
157786157813
"dismissed_reason": {
157787157814
"description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
157788157815
"type": "string",
157789157816
"nullable": true
157790157817
},
157818+
"fixed_at": {
157819+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
157820+
"nullable": true
157821+
},
157791157822
"html_url": {
157792157823
"description": "The GitHub URL of the alert resource.",
157793157824
"type": "string",
@@ -157925,7 +157956,8 @@
157925157956
]
157926157957
},
157927157958
"state": {
157928-
"description": "State of a code scanning alert.",
157959+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
157960+
"nullable": true,
157929157961
"type": "string",
157930157962
"enum": [
157931157963
"open",
@@ -158034,10 +158066,17 @@
158034158066
"dismissed_by": {
158035158067
"nullable": true
158036158068
},
158069+
"dismissed_comment": {
158070+
"$ref": "#/components/schemas/code-scanning-alert-dismissed-comment"
158071+
},
158037158072
"dismissed_reason": {
158038158073
"description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.",
158039158074
"nullable": true
158040158075
},
158076+
"fixed_at": {
158077+
"description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.",
158078+
"nullable": true
158079+
},
158041158080
"html_url": {
158042158081
"description": "The GitHub URL of the alert resource.",
158043158082
"type": "string",
@@ -158153,7 +158192,8 @@
158153158192
]
158154158193
},
158155158194
"state": {
158156-
"description": "State of a code scanning alert.",
158195+
"description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.",
158196+
"nullable": true,
158157158197
"type": "string",
158158158198
"enum": [
158159158199
"open",

0 commit comments

Comments
 (0)