Skip to content

Commit d197c7b

Browse files
author
Octokit Bot
committed
WIP: schema updates
1 parent 0509599 commit d197c7b

File tree

11 files changed

+416
-12
lines changed

11 files changed

+416
-12
lines changed

cache/api.github.com.json

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38147,6 +38147,68 @@
3814738147
"commit_url"
3814838148
]
3814938149
},
38150+
"secret-scanning-location-wiki-commit": {
38151+
"description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.",
38152+
"type": "object",
38153+
"properties": {
38154+
"path": {
38155+
"type": "string",
38156+
"description": "The file path of the wiki page",
38157+
"examples": ["/example/Home.md"]
38158+
},
38159+
"start_line": {
38160+
"type": "number",
38161+
"description": "Line number at which the secret starts in the file"
38162+
},
38163+
"end_line": {
38164+
"type": "number",
38165+
"description": "Line number at which the secret ends in the file"
38166+
},
38167+
"start_column": {
38168+
"type": "number",
38169+
"description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII."
38170+
},
38171+
"end_column": {
38172+
"type": "number",
38173+
"description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII."
38174+
},
38175+
"blob_sha": {
38176+
"type": "string",
38177+
"description": "SHA-1 hash ID of the associated blob",
38178+
"examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"]
38179+
},
38180+
"page_url": {
38181+
"type": "string",
38182+
"description": "The GitHub URL to get the associated wiki page",
38183+
"examples": [
38184+
"https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
38185+
]
38186+
},
38187+
"commit_sha": {
38188+
"type": "string",
38189+
"description": "SHA-1 hash ID of the associated commit",
38190+
"examples": ["302c0b7e200761c9dd9b57e57db540ee0b4293a5"]
38191+
},
38192+
"commit_url": {
38193+
"type": "string",
38194+
"description": "The GitHub URL to get the associated wiki commit",
38195+
"examples": [
38196+
"https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
38197+
]
38198+
}
38199+
},
38200+
"required": [
38201+
"path",
38202+
"start_line",
38203+
"end_line",
38204+
"start_column",
38205+
"end_column",
38206+
"blob_sha",
38207+
"page_url",
38208+
"commit_sha",
38209+
"commit_url"
38210+
]
38211+
},
3815038212
"secret-scanning-location-issue-title": {
3815138213
"description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.",
3815238214
"type": "object",
@@ -38319,6 +38381,7 @@
3831938381
"type": "string",
3832038382
"enum": [
3832138383
"commit",
38384+
"wiki_commit",
3832238385
"issue_title",
3832338386
"issue_body",
3832438387
"issue_comment",
@@ -38339,6 +38402,9 @@
3833938402
{
3834038403
"$ref": "#/components/schemas/secret-scanning-location-commit"
3834138404
},
38405+
{
38406+
"$ref": "#/components/schemas/secret-scanning-location-wiki-commit"
38407+
},
3834238408
{
3834338409
"$ref": "#/components/schemas/secret-scanning-location-issue-title"
3834438410
},
@@ -38374,8 +38440,7 @@
3837438440
}
3837538441
]
3837638442
}
38377-
},
38378-
"required": ["type", "details"]
38443+
}
3837938444
},
3838038445
"repository-advisory-create": {
3838138446
"type": "object",
@@ -156784,6 +156849,20 @@
156784156849
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
156785156850
}
156786156851
},
156852+
{
156853+
"type": "wiki_commit",
156854+
"details": {
156855+
"path": "/example/Home.md",
156856+
"start_line": 1,
156857+
"end_line": 1,
156858+
"start_column": 1,
156859+
"end_column": 64,
156860+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
156861+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
156862+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
156863+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
156864+
}
156865+
},
156787156866
{
156788156867
"type": "issue_title",
156789156868
"details": {

cache/ghec.json

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39194,6 +39194,68 @@
3919439194
"commit_url"
3919539195
]
3919639196
},
39197+
"secret-scanning-location-wiki-commit": {
39198+
"description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.",
39199+
"type": "object",
39200+
"properties": {
39201+
"path": {
39202+
"type": "string",
39203+
"description": "The file path of the wiki page",
39204+
"examples": ["/example/Home.md"]
39205+
},
39206+
"start_line": {
39207+
"type": "number",
39208+
"description": "Line number at which the secret starts in the file"
39209+
},
39210+
"end_line": {
39211+
"type": "number",
39212+
"description": "Line number at which the secret ends in the file"
39213+
},
39214+
"start_column": {
39215+
"type": "number",
39216+
"description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII."
39217+
},
39218+
"end_column": {
39219+
"type": "number",
39220+
"description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII."
39221+
},
39222+
"blob_sha": {
39223+
"type": "string",
39224+
"description": "SHA-1 hash ID of the associated blob",
39225+
"examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"]
39226+
},
39227+
"page_url": {
39228+
"type": "string",
39229+
"description": "The GitHub URL to get the associated wiki page",
39230+
"examples": [
39231+
"https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
39232+
]
39233+
},
39234+
"commit_sha": {
39235+
"type": "string",
39236+
"description": "SHA-1 hash ID of the associated commit",
39237+
"examples": ["302c0b7e200761c9dd9b57e57db540ee0b4293a5"]
39238+
},
39239+
"commit_url": {
39240+
"type": "string",
39241+
"description": "The GitHub URL to get the associated wiki commit",
39242+
"examples": [
39243+
"https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
39244+
]
39245+
}
39246+
},
39247+
"required": [
39248+
"path",
39249+
"start_line",
39250+
"end_line",
39251+
"start_column",
39252+
"end_column",
39253+
"blob_sha",
39254+
"page_url",
39255+
"commit_sha",
39256+
"commit_url"
39257+
]
39258+
},
3919739259
"secret-scanning-location-issue-title": {
3919839260
"description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.",
3919939261
"type": "object",
@@ -39366,6 +39428,7 @@
3936639428
"type": "string",
3936739429
"enum": [
3936839430
"commit",
39431+
"wiki_commit",
3936939432
"issue_title",
3937039433
"issue_body",
3937139434
"issue_comment",
@@ -39386,6 +39449,9 @@
3938639449
{
3938739450
"$ref": "#/components/schemas/secret-scanning-location-commit"
3938839451
},
39452+
{
39453+
"$ref": "#/components/schemas/secret-scanning-location-wiki-commit"
39454+
},
3938939455
{
3939039456
"$ref": "#/components/schemas/secret-scanning-location-issue-title"
3939139457
},
@@ -39421,8 +39487,7 @@
3942139487
}
3942239488
]
3942339489
}
39424-
},
39425-
"required": ["type", "details"]
39490+
}
3942639491
},
3942739492
"repository-advisory-create": {
3942839493
"type": "object",
@@ -159398,6 +159463,20 @@
159398159463
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
159399159464
}
159400159465
},
159466+
{
159467+
"type": "wiki_commit",
159468+
"details": {
159469+
"path": "/example/Home.md",
159470+
"start_line": 1,
159471+
"end_line": 1,
159472+
"start_column": 1,
159473+
"end_column": 64,
159474+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
159475+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
159476+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
159477+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
159478+
}
159479+
},
159401159480
{
159402159481
"type": "issue_title",
159403159482
"details": {

cache/ghes-3.10.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149066,6 +149066,20 @@
149066149066
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
149067149067
}
149068149068
},
149069+
{
149070+
"type": "wiki_commit",
149071+
"details": {
149072+
"path": "/example/Home.md",
149073+
"start_line": 1,
149074+
"end_line": 1,
149075+
"start_column": 1,
149076+
"end_column": 64,
149077+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
149078+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
149079+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
149080+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
149081+
}
149082+
},
149069149083
{
149070149084
"type": "issue_title",
149071149085
"details": {

cache/ghes-3.11.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151136,6 +151136,20 @@
151136151136
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
151137151137
}
151138151138
},
151139+
{
151140+
"type": "wiki_commit",
151141+
"details": {
151142+
"path": "/example/Home.md",
151143+
"start_line": 1,
151144+
"end_line": 1,
151145+
"start_column": 1,
151146+
"end_column": 64,
151147+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
151148+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
151149+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
151150+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
151151+
}
151152+
},
151139151153
{
151140151154
"type": "issue_title",
151141151155
"details": {

cache/ghes-3.12.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152304,6 +152304,20 @@
152304152304
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
152305152305
}
152306152306
},
152307+
{
152308+
"type": "wiki_commit",
152309+
"details": {
152310+
"path": "/example/Home.md",
152311+
"start_line": 1,
152312+
"end_line": 1,
152313+
"start_column": 1,
152314+
"end_column": 64,
152315+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
152316+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
152317+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
152318+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
152319+
}
152320+
},
152307152321
{
152308152322
"type": "issue_title",
152309152323
"details": {

cache/ghes-3.8.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145864,6 +145864,20 @@
145864145864
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
145865145865
}
145866145866
},
145867+
{
145868+
"type": "wiki_commit",
145869+
"details": {
145870+
"path": "/example/Home.md",
145871+
"start_line": 1,
145872+
"end_line": 1,
145873+
"start_column": 1,
145874+
"end_column": 64,
145875+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
145876+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
145877+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
145878+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
145879+
}
145880+
},
145867145881
{
145868145882
"type": "issue_title",
145869145883
"details": {

cache/ghes-3.9.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147723,6 +147723,20 @@
147723147723
"commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
147724147724
}
147725147725
},
147726+
{
147727+
"type": "wiki_commit",
147728+
"details": {
147729+
"path": "/example/Home.md",
147730+
"start_line": 1,
147731+
"end_line": 1,
147732+
"start_column": 1,
147733+
"end_column": 64,
147734+
"blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
147735+
"page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5",
147736+
"commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5",
147737+
"commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5"
147738+
}
147739+
},
147726147740
{
147727147741
"type": "issue_title",
147728147742
"details": {

packages/openapi-webhooks-types-ghec/types.d.ts

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61692,8 +61692,9 @@ export interface components {
6169261692
* @description The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.
6169361693
* @enum {string}
6169461694
*/
61695-
type:
61695+
type?:
6169661696
| "commit"
61697+
| "wiki_commit"
6169761698
| "issue_title"
6169861699
| "issue_body"
6169961700
| "issue_comment"
@@ -61705,8 +61706,9 @@ export interface components {
6170561706
| "pull_request_comment"
6170661707
| "pull_request_review"
6170761708
| "pull_request_review_comment";
61708-
details:
61709+
details?:
6170961710
| components["schemas"]["secret-scanning-location-commit"]
61711+
| components["schemas"]["secret-scanning-location-wiki-commit"]
6171061712
| components["schemas"]["secret-scanning-location-issue-title"]
6171161713
| components["schemas"]["secret-scanning-location-issue-body"]
6171261714
| components["schemas"]["secret-scanning-location-issue-comment"]
@@ -61740,6 +61742,27 @@ export interface components {
6174061742
/** @description The API URL to get the associated commit resource */
6174161743
commit_url: string;
6174261744
};
61745+
/** @description Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. */
61746+
"secret-scanning-location-wiki-commit": {
61747+
/** @description The file path of the wiki page */
61748+
path: string;
61749+
/** @description Line number at which the secret starts in the file */
61750+
start_line: number;
61751+
/** @description Line number at which the secret ends in the file */
61752+
end_line: number;
61753+
/** @description The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII. */
61754+
start_column: number;
61755+
/** @description The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII. */
61756+
end_column: number;
61757+
/** @description SHA-1 hash ID of the associated blob */
61758+
blob_sha: string;
61759+
/** @description The GitHub URL to get the associated wiki page */
61760+
page_url: string;
61761+
/** @description SHA-1 hash ID of the associated commit */
61762+
commit_sha: string;
61763+
/** @description The GitHub URL to get the associated wiki commit */
61764+
commit_url: string;
61765+
};
6174361766
/** @description Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. */
6174461767
"secret-scanning-location-issue-title": {
6174561768
/**

0 commit comments

Comments
 (0)