Skip to content

Commit 19fb917

Browse files
authored
feat: new relationship property for dependabot alerts which indicates relationship (direct and transitive dependencies) (#114)
https://github.blog/changelog/2025-03-04-easily-distinguish-between-direct-and-transitive-dependencies-for-npm-packages/
1 parent 5b35c6c commit 19fb917

File tree

21 files changed

+8214
-1046
lines changed

21 files changed

+8214
-1046
lines changed

cache/api.github.com.json

+102-84
Large diffs are not rendered by default.

cache/ghec.json

+2,946-427
Large diffs are not rendered by default.

cache/ghes-3.12.json

+58-6
Original file line numberDiff line numberDiff line change
@@ -21789,6 +21789,7 @@
2178921789
"id": {
2179021790
"description": "Unique identifier of the webhook delivery.",
2179121791
"type": "integer",
21792+
"format": "int64",
2179221793
"examples": [42]
2179321794
},
2179421795
"guid": {
@@ -21835,11 +21836,13 @@
2183521836
"installation_id": {
2183621837
"description": "The id of the GitHub App installation associated with this event.",
2183721838
"type": ["integer", "null"],
21839+
"format": "int64",
2183821840
"examples": [123]
2183921841
},
2184021842
"repository_id": {
2184121843
"description": "The id of the repository associated with this event.",
2184221844
"type": ["integer", "null"],
21845+
"format": "int64",
2184321846
"examples": [123]
2184421847
},
2184521848
"throttled_at": {
@@ -28907,6 +28910,23 @@
2890728910
"type": { "type": "string", "enum": ["required_signatures"] }
2890828911
}
2890928912
},
28913+
"repository-rule-params-reviewer": {
28914+
"title": "Reviewer",
28915+
"description": "A required reviewing team",
28916+
"type": "object",
28917+
"properties": {
28918+
"id": {
28919+
"type": "integer",
28920+
"description": "ID of the reviewer which must review changes to matching files."
28921+
},
28922+
"type": {
28923+
"type": "string",
28924+
"description": "The type of the reviewer",
28925+
"enum": ["Team"]
28926+
}
28927+
},
28928+
"required": ["id", "type"]
28929+
},
2891028930
"repository-rule-params-required-reviewer-configuration": {
2891128931
"title": "RequiredReviewerConfiguration",
2891228932
"description": "A reviewing team, and file patterns describing which files they must approve changes to.",
@@ -28921,12 +28941,11 @@
2892128941
"type": "integer",
2892228942
"description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional."
2892328943
},
28924-
"reviewer_id": {
28925-
"type": "string",
28926-
"description": "Node ID of the team which must review changes to matching files."
28944+
"reviewer": {
28945+
"$ref": "#/components/schemas/repository-rule-params-reviewer"
2892728946
}
2892828947
},
28929-
"required": ["file_patterns", "minimum_approvals", "reviewer_id"]
28948+
"required": ["file_patterns", "minimum_approvals"]
2893028949
},
2893128950
"repository-rule-pull-request": {
2893228951
"title": "pull_request",
@@ -28940,7 +28959,7 @@
2894028959
"properties": {
2894128960
"allowed_merge_methods": {
2894228961
"type": "array",
28943-
"description": "When merging pull requests, you can allow any combination of merge commits, squashing, or rebasing. At least one option must be enabled.",
28962+
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.",
2894428963
"items": { "type": "string" }
2894528964
},
2894628965
"dismiss_stale_reviews_on_push": {
@@ -33534,6 +33553,10 @@
3353433553
"type": "string",
3353533554
"enum": ["open", "dismissed"]
3353633555
},
33556+
"code-scanning-alert-create-request": {
33557+
"type": "boolean",
33558+
"description": "If `true`, attempt to create an alert dismissal request."
33559+
},
3353733560
"code-scanning-analysis-sarif-id": {
3353833561
"type": "string",
3353933562
"description": "An identifier for the upload.",
@@ -112475,6 +112498,16 @@
112475112498
},
112476112499
"required": ["from"]
112477112500
},
112501+
"tag_name": {
112502+
"type": "object",
112503+
"properties": {
112504+
"from": {
112505+
"description": "The previous version of the tag_name if the action was `edited`.",
112506+
"type": "string"
112507+
}
112508+
},
112509+
"required": ["from"]
112510+
},
112478112511
"make_latest": {
112479112512
"type": "object",
112480112513
"properties": {
@@ -145369,6 +145402,18 @@
145369145402
"required": false,
145370145403
"schema": { "type": "string", "format": "date-time" }
145371145404
},
145405+
"personal-access-token-token-id": {
145406+
"name": "token_id",
145407+
"description": "The ID of the token",
145408+
"in": "query",
145409+
"required": false,
145410+
"schema": {
145411+
"type": "array",
145412+
"maxItems": 50,
145413+
"items": { "type": "string" },
145414+
"examples": ["token_id[]=1,token_id[]=2"]
145415+
}
145416+
},
145372145417
"fine-grained-personal-access-token-id": {
145373145418
"name": "pat_id",
145374145419
"description": "The unique identifier of the fine-grained personal access token.",
@@ -145945,6 +145990,13 @@
145945145990
"default": "desc"
145946145991
}
145947145992
},
145993+
"issues-advanced-search": {
145994+
"name": "advanced_search",
145995+
"description": "Set to `true` to use advanced search.\nExample: `http://api.github.com/search/issues?q={query}&advanced_search=true`",
145996+
"in": "query",
145997+
"required": false,
145998+
"schema": { "type": "string" }
145999+
},
145948146000
"gpg-key-id": {
145949146001
"name": "gpg_key_id",
145950146002
"description": "The unique identifier of the GPG key.",
@@ -146263,7 +146315,7 @@
146263146315
},
146264146316
"found": { "description": "Found" },
146265146317
"dependency_review_forbidden": {
146266-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
146318+
"description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork",
146267146319
"content": {
146268146320
"application/json": {
146269146321
"schema": { "$ref": "#/components/schemas/basic-error" }

cache/ghes-3.13.json

+58-6
Original file line numberDiff line numberDiff line change
@@ -21881,6 +21881,7 @@
2188121881
"id": {
2188221882
"description": "Unique identifier of the webhook delivery.",
2188321883
"type": "integer",
21884+
"format": "int64",
2188421885
"examples": [42]
2188521886
},
2188621887
"guid": {
@@ -21927,11 +21928,13 @@
2192721928
"installation_id": {
2192821929
"description": "The id of the GitHub App installation associated with this event.",
2192921930
"type": ["integer", "null"],
21931+
"format": "int64",
2193021932
"examples": [123]
2193121933
},
2193221934
"repository_id": {
2193321935
"description": "The id of the repository associated with this event.",
2193421936
"type": ["integer", "null"],
21937+
"format": "int64",
2193521938
"examples": [123]
2193621939
},
2193721940
"throttled_at": {
@@ -29200,6 +29203,23 @@
2920029203
"type": { "type": "string", "enum": ["required_signatures"] }
2920129204
}
2920229205
},
29206+
"repository-rule-params-reviewer": {
29207+
"title": "Reviewer",
29208+
"description": "A required reviewing team",
29209+
"type": "object",
29210+
"properties": {
29211+
"id": {
29212+
"type": "integer",
29213+
"description": "ID of the reviewer which must review changes to matching files."
29214+
},
29215+
"type": {
29216+
"type": "string",
29217+
"description": "The type of the reviewer",
29218+
"enum": ["Team"]
29219+
}
29220+
},
29221+
"required": ["id", "type"]
29222+
},
2920329223
"repository-rule-params-required-reviewer-configuration": {
2920429224
"title": "RequiredReviewerConfiguration",
2920529225
"description": "A reviewing team, and file patterns describing which files they must approve changes to.",
@@ -29214,12 +29234,11 @@
2921429234
"type": "integer",
2921529235
"description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional."
2921629236
},
29217-
"reviewer_id": {
29218-
"type": "string",
29219-
"description": "Node ID of the team which must review changes to matching files."
29237+
"reviewer": {
29238+
"$ref": "#/components/schemas/repository-rule-params-reviewer"
2922029239
}
2922129240
},
29222-
"required": ["file_patterns", "minimum_approvals", "reviewer_id"]
29241+
"required": ["file_patterns", "minimum_approvals"]
2922329242
},
2922429243
"repository-rule-pull-request": {
2922529244
"title": "pull_request",
@@ -29233,7 +29252,7 @@
2923329252
"properties": {
2923429253
"allowed_merge_methods": {
2923529254
"type": "array",
29236-
"description": "When merging pull requests, you can allow any combination of merge commits, squashing, or rebasing. At least one option must be enabled.",
29255+
"description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled.",
2923729256
"items": { "type": "string" }
2923829257
},
2923929258
"dismiss_stale_reviews_on_push": {
@@ -33827,6 +33846,10 @@
3382733846
"type": "string",
3382833847
"enum": ["open", "dismissed"]
3382933848
},
33849+
"code-scanning-alert-create-request": {
33850+
"type": "boolean",
33851+
"description": "If `true`, attempt to create an alert dismissal request."
33852+
},
3383033853
"code-scanning-analysis-sarif-id": {
3383133854
"type": "string",
3383233855
"description": "An identifier for the upload.",
@@ -112815,6 +112838,16 @@
112815112838
},
112816112839
"required": ["from"]
112817112840
},
112841+
"tag_name": {
112842+
"type": "object",
112843+
"properties": {
112844+
"from": {
112845+
"description": "The previous version of the tag_name if the action was `edited`.",
112846+
"type": "string"
112847+
}
112848+
},
112849+
"required": ["from"]
112850+
},
112818112851
"make_latest": {
112819112852
"type": "object",
112820112853
"properties": {
@@ -145837,6 +145870,18 @@
145837145870
"required": false,
145838145871
"schema": { "type": "string", "format": "date-time" }
145839145872
},
145873+
"personal-access-token-token-id": {
145874+
"name": "token_id",
145875+
"description": "The ID of the token",
145876+
"in": "query",
145877+
"required": false,
145878+
"schema": {
145879+
"type": "array",
145880+
"maxItems": 50,
145881+
"items": { "type": "string" },
145882+
"examples": ["token_id[]=1,token_id[]=2"]
145883+
}
145884+
},
145840145885
"fine-grained-personal-access-token-id": {
145841145886
"name": "pat_id",
145842145887
"description": "The unique identifier of the fine-grained personal access token.",
@@ -146427,6 +146472,13 @@
146427146472
"default": "desc"
146428146473
}
146429146474
},
146475+
"issues-advanced-search": {
146476+
"name": "advanced_search",
146477+
"description": "Set to `true` to use advanced search.\nExample: `http://api.github.com/search/issues?q={query}&advanced_search=true`",
146478+
"in": "query",
146479+
"required": false,
146480+
"schema": { "type": "string" }
146481+
},
146430146482
"gpg-key-id": {
146431146483
"name": "gpg_key_id",
146432146484
"description": "The unique identifier of the GPG key.",
@@ -146745,7 +146797,7 @@
146745146797
},
146746146798
"found": { "description": "Found" },
146747146799
"dependency_review_forbidden": {
146748-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
146800+
"description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork",
146749146801
"content": {
146750146802
"application/json": {
146751146803
"schema": { "$ref": "#/components/schemas/basic-error" }

0 commit comments

Comments
 (0)