@@ -90,6 +90,11 @@ export type t_actions_secret = {
9090 updated_at : string
9191}
9292
93+ export type t_actions_set_default_workflow_permissions = {
94+ can_approve_pull_request_reviews ?: t_actions_can_approve_pull_request_reviews
95+ default_workflow_permissions ?: t_actions_default_workflow_permissions
96+ }
97+
9398export type t_actions_variable = {
9499 created_at : string
95100 name : string
@@ -915,6 +920,21 @@ export type t_code_scanning_default_setup = {
915920 updated_at ?: string | null
916921}
917922
923+ export type t_code_scanning_default_setup_update = {
924+ languages ?: (
925+ | "c-cpp"
926+ | "csharp"
927+ | "go"
928+ | "java-kotlin"
929+ | "javascript-typescript"
930+ | "python"
931+ | "ruby"
932+ | "swift"
933+ ) [ ]
934+ query_suite ?: "default" | "extended"
935+ state ?: "configured" | "not-configured"
936+ }
937+
918938export type t_code_scanning_default_setup_update_response = {
919939 run_id ?: number
920940 run_url ?: string
@@ -1731,6 +1751,15 @@ export type t_deployment_branch_policy = {
17311751 type ?: "branch" | "tag"
17321752}
17331753
1754+ export type t_deployment_branch_policy_name_pattern = {
1755+ name : string
1756+ }
1757+
1758+ export type t_deployment_branch_policy_name_pattern_with_type = {
1759+ name : string
1760+ type ?: "branch" | "tag"
1761+ }
1762+
17341763export type t_deployment_branch_policy_settings = {
17351764 custom_branch_policies : boolean
17361765 protected_branches : boolean
@@ -2570,6 +2599,11 @@ export type t_interaction_group =
25702599 | "contributors_only"
25712600 | "collaborators_only"
25722601
2602+ export type t_interaction_limit = {
2603+ expiry ?: t_interaction_expiry
2604+ limit : t_interaction_group
2605+ }
2606+
25732607export type t_interaction_limit_response = {
25742608 expires_at : string
25752609 limit : t_interaction_group
@@ -4220,6 +4254,26 @@ export type t_private_user = {
42204254 url : string
42214255}
42224256
4257+ export type t_private_vulnerability_report_create = {
4258+ cvss_vector_string ?: string | null
4259+ cwe_ids ?: string [ ] | null
4260+ description : string
4261+ severity ?: "critical" | "high" | "medium" | "low" | null
4262+ start_private_fork ?: boolean
4263+ summary : string
4264+ vulnerabilities ?:
4265+ | {
4266+ package : {
4267+ ecosystem : t_security_advisory_ecosystems
4268+ name ?: string | null
4269+ }
4270+ patched_versions ?: string | null
4271+ vulnerable_functions ?: string [ ] | null
4272+ vulnerable_version_range ?: string | null
4273+ } [ ]
4274+ | null
4275+ }
4276+
42234277export type t_project = {
42244278 body : string | null
42254279 columns_url : string
@@ -5326,12 +5380,64 @@ export type t_repository_advisory = {
53265380 readonly withdrawn_at : string | null
53275381}
53285382
5383+ export type t_repository_advisory_create = {
5384+ credits ?:
5385+ | {
5386+ login : string
5387+ type : t_security_advisory_credit_types
5388+ } [ ]
5389+ | null
5390+ cve_id ?: string | null
5391+ cvss_vector_string ?: string | null
5392+ cwe_ids ?: string [ ] | null
5393+ description : string
5394+ severity ?: "critical" | "high" | "medium" | "low" | null
5395+ start_private_fork ?: boolean
5396+ summary : string
5397+ vulnerabilities : {
5398+ package : {
5399+ ecosystem : t_security_advisory_ecosystems
5400+ name ?: string | null
5401+ }
5402+ patched_versions ?: string | null
5403+ vulnerable_functions ?: string [ ] | null
5404+ vulnerable_version_range ?: string | null
5405+ } [ ]
5406+ }
5407+
53295408export type t_repository_advisory_credit = {
53305409 state : "accepted" | "declined" | "pending"
53315410 type : t_security_advisory_credit_types
53325411 user : t_simple_user
53335412}
53345413
5414+ export type t_repository_advisory_update = {
5415+ collaborating_teams ?: string [ ] | null
5416+ collaborating_users ?: string [ ] | null
5417+ credits ?:
5418+ | {
5419+ login : string
5420+ type : t_security_advisory_credit_types
5421+ } [ ]
5422+ | null
5423+ cve_id ?: string | null
5424+ cvss_vector_string ?: string | null
5425+ cwe_ids ?: string [ ] | null
5426+ description ?: string
5427+ severity ?: "critical" | "high" | "medium" | "low" | null
5428+ state ?: "published" | "closed" | "draft"
5429+ summary ?: string
5430+ vulnerabilities ?: {
5431+ package : {
5432+ ecosystem : t_security_advisory_ecosystems
5433+ name ?: string | null
5434+ }
5435+ patched_versions ?: string | null
5436+ vulnerable_functions ?: string [ ] | null
5437+ vulnerable_version_range ?: string | null
5438+ } [ ]
5439+ }
5440+
53355441export type t_repository_advisory_vulnerability = {
53365442 package : {
53375443 ecosystem : t_security_advisory_ecosystems
@@ -6164,6 +6270,27 @@ export type t_simple_user = {
61646270 url : string
61656271}
61666272
6273+ export type t_snapshot = {
6274+ detector : {
6275+ name : string
6276+ url : string
6277+ version : string
6278+ }
6279+ job : {
6280+ correlator : string
6281+ html_url ?: string
6282+ id : string
6283+ }
6284+ manifests ?: {
6285+ [ key : string ] : t_manifest | undefined
6286+ }
6287+ metadata ?: t_metadata
6288+ ref : string
6289+ scanned : string
6290+ sha : string
6291+ version : number
6292+ }
6293+
61676294export type t_social_account = {
61686295 provider : string
61696296 url : string
0 commit comments