@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" },
@@ -15181,7 +15181,7 @@
15181
15181
  },
15182
15182
  "post": {
15183
15183
  "summary": "Review pending deployments for a workflow run",
15184
- "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.",
15184
+ "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.",
15185
15185
  "tags": ["actions"],
15186
15186
  "operationId": "actions/review-pending-deployments-for-run",
15187
15187
  "externalDocs": {
@@ -15243,7 +15243,7 @@
15243
15243
  },
15244
15244
  "x-github": {
15245
15245
  "githubCloudOnly": false,
15246
- "enabledForGitHubApps": true,
15246
+ "enabledForGitHubApps": false,
15247
15247
  "category": "actions",
15248
15248
  "subcategory": "workflow-runs"
15249
15249
  },
@@ -19142,7 +19142,6 @@
19142
19142
  "200": {
19143
19143
  "description": "Response",
19144
19144
  "content": {
19145
- "application/json+sarif": { "schema": { "type": "string" } },
19146
19145
  "application/json": {
19147
19146
  "schema": {
19148
19147
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -19152,6 +19151,14 @@
19152
19151
  "$ref": "#/components/examples/code-scanning-analysis-default"
19153
19152
  }
19154
19153
  }
19154
+ },
19155
+ "application/json+sarif": {
19156
+ "schema": { "type": "object", "additionalProperties": true },
19157
+ "examples": {
19158
+ "response": {
19159
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
19160
+ }
19161
+ }
19155
19162
  }
19156
19163
  }
19157
19164
  },
@@ -19271,6 +19278,15 @@
19271
19278
  }
19272
19279
  },
19273
19280
  "required": ["commit_sha", "ref", "sarif"]
19281
+ },
19282
+ "examples": {
19283
+ "default": {
19284
+ "value": {
19285
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
19286
+ "ref": "refs/heads/master",
19287
+ "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"
19288
+ }
19289
+ }
19274
19290
  }
19275
19291
  }
19276
19292
  }
@@ -63692,7 +63708,7 @@
63692
63708
  ]
63693
63709
  },
63694
63710
  "code-scanning-analysis-default": {
63695
- "summary": "Default response",
63711
+ "summary": "application/json response",
63696
63712
  "value": {
63697
63713
  "ref": "refs/heads/main",
63698
63714
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -63711,6 +63727,49 @@
63711
63727
  "warning": ""
63712
63728
  }
63713
63729
  },
63730
+ "code-scanning-analysis-sarif": {
63731
+ "summary": "application/json+sarif response",
63732
+ "value": {
63733
+ "runs": [
63734
+ {
63735
+ "tool": {
63736
+ "driver": {
63737
+ "name": "CodeQL",
63738
+ "organization": "GitHub",
63739
+ "semanticVersion": "1.0.0",
63740
+ "rules": [
63741
+ {
63742
+ "id": "js/unused-local-variable",
63743
+ "name": "js/unused-local-variable"
63744
+ }
63745
+ ]
63746
+ }
63747
+ },
63748
+ "results": [
63749
+ {
63750
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
63751
+ "message": { "text": "Unused variable foo." },
63752
+ "locations": [
63753
+ {
63754
+ "physicalLocation": {
63755
+ "artifactLocation": { "uri": "file1.js" },
63756
+ "region": { "startLine": 1 }
63757
+ }
63758
+ }
63759
+ ],
63760
+ "ruleId": "js/unused-local-variable",
63761
+ "properties": [
63762
+ { "github/alertNumber": 2 },
63763
+ {
63764
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
63765
+ }
63766
+ ]
63767
+ }
63768
+ ]
63769
+ }
63770
+ ]
63771
+ }
63772
+ },
63714
63773
  "code-scanning-analysis-deletion": {
63715
63774
  "summary": "Default response",
63716
63775
  "value": {
@@ -3120,13 +3120,13 @@
3120
3120
  "style": "form"
3121
3121
  },
3122
3122
  {
3123
- "description": "The property by which to sort the results.",
3123
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
3124
3124
  "in": "query",
3125
3125
  "name": "sort",
3126
3126
  "required": false,
3127
3127
  "schema": {
3128
- "default": "number",
3129
- "enum": ["created", "updated", "number"],
3128
+ "default": "created",
3129
+ "enum": ["created", "number", "updated"],
3130
3130
  "type": "string"
3131
3131
  },
3132
3132
  "style": "form"
@@ -3147,7 +3147,11 @@
3147
3147
  "properties_changed": { "removed": ["tags"] }
3148
3148
  }
3149
3149
  },
3150
- "removed": ["fixed_at", "updated_at"]
3150
+ "removed": [
3151
+ "dismissed_comment",
3152
+ "fixed_at",
3153
+ "updated_at"
3154
+ ]
3151
3155
  }
3152
3156
  }
3153
3157
  }
@@ -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" },
@@ -104450,7 +104450,7 @@
104450
104450
  },
104451
104451
  "post": {
104452
104452
  "summary": "Review pending deployments for a workflow run",
104453
- "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.",
104453
+ "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.",
104454
104454
  "tags": ["actions"],
104455
104455
  "operationId": "actions/review-pending-deployments-for-run",
104456
104456
  "externalDocs": {
@@ -104987,7 +104987,7 @@
104987
104987
  },
104988
104988
  "x-github": {
104989
104989
  "githubCloudOnly": false,
104990
- "enabledForGitHubApps": true,
104990
+ "enabledForGitHubApps": false,
104991
104991
  "category": "actions",
104992
104992
  "subcategory": "workflow-runs"
104993
104993
  },
@@ -136213,7 +136213,6 @@
136213
136213
  "200": {
136214
136214
  "description": "Response",
136215
136215
  "content": {
136216
- "application/json+sarif": { "schema": { "type": "string" } },
136217
136216
  "application/json": {
136218
136217
  "schema": {
136219
136218
  "type": "object",
@@ -136319,7 +136318,7 @@
136319
136318
  },
136320
136319
  "examples": {
136321
136320
  "response": {
136322
- "summary": "Default response",
136321
+ "summary": "application/json response",
136323
136322
  "value": {
136324
136323
  "ref": "refs/heads/main",
136325
136324
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -136343,6 +136342,54 @@
136343
136342
  }
136344
136343
  }
136345
136344
  }
136345
+ },
136346
+ "application/json+sarif": {
136347
+ "schema": { "type": "object", "additionalProperties": true },
136348
+ "examples": {
136349
+ "response": {
136350
+ "summary": "application/json+sarif response",
136351
+ "value": {
136352
+ "runs": [
136353
+ {
136354
+ "tool": {
136355
+ "driver": {
136356
+ "name": "CodeQL",
136357
+ "organization": "GitHub",
136358
+ "semanticVersion": "1.0.0",
136359
+ "rules": [
136360
+ {
136361
+ "id": "js/unused-local-variable",
136362
+ "name": "js/unused-local-variable"
136363
+ }
136364
+ ]
136365
+ }
136366
+ },
136367
+ "results": [
136368
+ {
136369
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
136370
+ "message": { "text": "Unused variable foo." },
136371
+ "locations": [
136372
+ {
136373
+ "physicalLocation": {
136374
+ "artifactLocation": { "uri": "file1.js" },
136375
+ "region": { "startLine": 1 }
136376
+ }
136377
+ }
136378
+ ],
136379
+ "ruleId": "js/unused-local-variable",
136380
+ "properties": [
136381
+ { "github/alertNumber": 2 },
136382
+ {
136383
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
136384
+ }
136385
+ ]
136386
+ }
136387
+ ]
136388
+ }
136389
+ ]
136390
+ }
136391
+ }
136392
+ }
136346
136393
  }
136347
136394
  }
136348
136395
  },
@@ -136644,6 +136691,15 @@
136644
136691
  }
136645
136692
  },
136646
136693
  "required": ["commit_sha", "ref", "sarif"]
136694
+ },
136695
+ "examples": {
136696
+ "default": {
136697
+ "value": {
136698
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
136699
+ "ref": "refs/heads/master",
136700
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4h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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" },
@@ -14811,7 +14811,7 @@
14811
14811
  },
14812
14812
  "post": {
14813
14813
  "summary": "Review pending deployments for a workflow run",
14814
- "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.",
14814
+ "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.",
14815
14815
  "tags": ["actions"],
14816
14816
  "operationId": "actions/review-pending-deployments-for-run",
14817
14817
  "externalDocs": {
@@ -14873,7 +14873,7 @@
14873
14873
  },
14874
14874
  "x-github": {
14875
14875
  "githubCloudOnly": false,
14876
- "enabledForGitHubApps": true,
14876
+ "enabledForGitHubApps": false,
14877
14877
  "category": "actions",
14878
14878
  "subcategory": "workflow-runs"
14879
14879
  },
@@ -18960,7 +18960,6 @@
18960
18960
  "200": {
18961
18961
  "description": "Response",
18962
18962
  "content": {
18963
- "application/json+sarif": { "schema": { "type": "string" } },
18964
18963
  "application/json": {
18965
18964
  "schema": {
18966
18965
  "$ref": "#/components/schemas/code-scanning-analysis"
@@ -18970,6 +18969,14 @@
18970
18969
  "$ref": "#/components/examples/code-scanning-analysis-default"
18971
18970
  }
18972
18971
  }
18972
+ },
18973
+ "application/json+sarif": {
18974
+ "schema": { "type": "object", "additionalProperties": true },
18975
+ "examples": {
18976
+ "response": {
18977
+ "$ref": "#/components/examples/code-scanning-analysis-sarif"
18978
+ }
18979
+ }
18973
18980
  }
18974
18981
  }
18975
18982
  },
@@ -19089,6 +19096,15 @@
19089
19096
  }
19090
19097
  },
19091
19098
  "required": ["commit_sha", "ref", "sarif"]
19099
+ },
19100
+ "examples": {
19101
+ "default": {
19102
+ "value": {
19103
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
19104
+ "ref": "refs/heads/master",
19105
+ "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"
19106
+ }
19107
+ }
19092
19108
  }
19093
19109
  }
19094
19110
  }
@@ -64026,7 +64042,7 @@
64026
64042
  ]
64027
64043
  },
64028
64044
  "code-scanning-analysis-default": {
64029
- "summary": "Default response",
64045
+ "summary": "application/json response",
64030
64046
  "value": {
64031
64047
  "ref": "refs/heads/main",
64032
64048
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -64045,6 +64061,49 @@
64045
64061
  "warning": ""
64046
64062
  }
64047
64063
  },
64064
+ "code-scanning-analysis-sarif": {
64065
+ "summary": "application/json+sarif response",
64066
+ "value": {
64067
+ "runs": [
64068
+ {
64069
+ "tool": {
64070
+ "driver": {
64071
+ "name": "CodeQL",
64072
+ "organization": "GitHub",
64073
+ "semanticVersion": "1.0.0",
64074
+ "rules": [
64075
+ {
64076
+ "id": "js/unused-local-variable",
64077
+ "name": "js/unused-local-variable"
64078
+ }
64079
+ ]
64080
+ }
64081
+ },
64082
+ "results": [
64083
+ {
64084
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
64085
+ "message": { "text": "Unused variable foo." },
64086
+ "locations": [
64087
+ {
64088
+ "physicalLocation": {
64089
+ "artifactLocation": { "uri": "file1.js" },
64090
+ "region": { "startLine": 1 }
64091
+ }
64092
+ }
64093
+ ],
64094
+ "ruleId": "js/unused-local-variable",
64095
+ "properties": [
64096
+ { "github/alertNumber": 2 },
64097
+ {
64098
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
64099
+ }
64100
+ ]
64101
+ }
64102
+ ]
64103
+ }
64104
+ ]
64105
+ }
64106
+ },
64048
64107
  "code-scanning-analysis-deletion": {
64049
64108
  "summary": "Default response",
64050
64109
  "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" },
@@ -112130,7 +112130,7 @@
112130
112130
  },
112131
112131
  "post": {
112132
112132
  "summary": "Review pending deployments for a workflow run",
112133
- "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.",
112133
+ "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.",
112134
112134
  "tags": ["actions"],
112135
112135
  "operationId": "actions/review-pending-deployments-for-run",
112136
112136
  "externalDocs": {
@@ -112667,7 +112667,7 @@
112667
112667
  },
112668
112668
  "x-github": {
112669
112669
  "githubCloudOnly": false,
112670
- "enabledForGitHubApps": true,
112670
+ "enabledForGitHubApps": false,
112671
112671
  "category": "actions",
112672
112672
  "subcategory": "workflow-runs"
112673
112673
  },
@@ -145443,7 +145443,7 @@
145443
145443
  "operationId": "code-scanning/list-alerts-for-repo",
145444
145444
  "externalDocs": {
145445
145445
  "description": "API method documentation",
145446
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
145446
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
145447
145447
  },
145448
145448
  "parameters": [
145449
145449
  {
@@ -145516,13 +145516,13 @@
145516
145516
  },
145517
145517
  {
145518
145518
  "name": "sort",
145519
- "description": "The property by which to sort the results.",
145519
+ "description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
145520
145520
  "in": "query",
145521
145521
  "required": false,
145522
145522
  "schema": {
145523
145523
  "type": "string",
145524
- "enum": ["created", "updated", "number"],
145525
- "default": "number"
145524
+ "enum": ["created", "number", "updated"],
145525
+ "default": "created"
145526
145526
  }
145527
145527
  },
145528
145528
  {
@@ -145715,6 +145715,12 @@
145715
145715
  "used in tests"
145716
145716
  ]
145717
145717
  },
145718
+ "dismissed_comment": {
145719
+ "type": "string",
145720
+ "description": "The dismissal comment associated with the dismissal of the alert.",
145721
+ "nullable": true,
145722
+ "maxLength": 280
145723
+ },
145718
145724
  "rule": {
145719
145725
  "type": "object",
145720
145726
  "properties": {
@@ -145847,6 +145853,7 @@
145847
145853
  "dismissed_by": null,
145848
145854
  "dismissed_at": null,
145849
145855
  "dismissed_reason": null,
145856
+ "dismissed_comment": null,
145850
145857
  "rule": {
145851
145858
  "id": "js/zipslip",
145852
145859
  "severity": "error",
@@ -145908,6 +145915,7 @@
145908
145915
  },
145909
145916
  "dismissed_at": "2020-02-14T12:29:18Z",
145910
145917
  "dismissed_reason": "false positive",
145918
+ "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.",
145911
145919
  "rule": {
145912
145920
  "id": "js/zipslip",
145913
145921
  "severity": "error",
@@ -147582,7 +147590,6 @@
147582
147590
  "200": {
147583
147591
  "description": "Response",
147584
147592
  "content": {
147585
- "application/json+sarif": { "schema": { "type": "string" } },
147586
147593
  "application/json": {
147587
147594
  "schema": {
147588
147595
  "type": "object",
@@ -147688,7 +147695,7 @@
147688
147695
  },
147689
147696
  "examples": {
147690
147697
  "response": {
147691
- "summary": "Default response",
147698
+ "summary": "application/json response",
147692
147699
  "value": {
147693
147700
  "ref": "refs/heads/main",
147694
147701
  "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
@@ -147712,6 +147719,54 @@
147712
147719
  }
147713
147720
  }
147714
147721
  }
147722
+ },
147723
+ "application/json+sarif": {
147724
+ "schema": { "type": "object", "additionalProperties": true },
147725
+ "examples": {
147726
+ "response": {
147727
+ "summary": "application/json+sarif response",
147728
+ "value": {
147729
+ "runs": [
147730
+ {
147731
+ "tool": {
147732
+ "driver": {
147733
+ "name": "CodeQL",
147734
+ "organization": "GitHub",
147735
+ "semanticVersion": "1.0.0",
147736
+ "rules": [
147737
+ {
147738
+ "id": "js/unused-local-variable",
147739
+ "name": "js/unused-local-variable"
147740
+ }
147741
+ ]
147742
+ }
147743
+ },
147744
+ "results": [
147745
+ {
147746
+ "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
147747
+ "message": { "text": "Unused variable foo." },
147748
+ "locations": [
147749
+ {
147750
+ "physicalLocation": {
147751
+ "artifactLocation": { "uri": "file1.js" },
147752
+ "region": { "startLine": 1 }
147753
+ }
147754
+ }
147755
+ ],
147756
+ "ruleId": "js/unused-local-variable",
147757
+ "properties": [
147758
+ { "github/alertNumber": 2 },
147759
+ {
147760
+ "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
147761
+ }
147762
+ ]
147763
+ }
147764
+ ]
147765
+ }
147766
+ ]
147767
+ }
147768
+ }
147769
+ }
147715
147770
  }
147716
147771
  }
147717
147772
  },
@@ -148013,6 +148068,15 @@
148013
148068
  }
148014
148069
  },
148015
148070
  "required": ["commit_sha", "ref", "sarif"]
148071
+ },
148072
+ "examples": {
148073
+ "default": {
148074
+ "value": {
148075
+ "commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
148076
+ "ref": "refs/heads/master",
148077
+ "sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4o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