File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ export type PostV1SpecificationsData = {
33
33
branch_base ?: string
34
34
ci_platform ?: string
35
35
commit_sha ?: string
36
- dry_run ?: boolean | null
36
+ default_branch ?: string
37
+ dry_run ?: string
37
38
event_name ?: string
38
39
job ?: string
39
40
ref ?: string
@@ -55,19 +56,34 @@ export type PostV1SpecificationsErrors = {
55
56
* Unauthorized
56
57
*/
57
58
401 : {
58
- message : string
59
+ error : {
60
+ message : string
61
+ request_id : string
62
+ status : number
63
+ timestamp : string
64
+ }
59
65
}
60
66
/**
61
67
* Forbidden
62
68
*/
63
69
403 : {
64
- message : string
70
+ error : {
71
+ message : string
72
+ request_id : string
73
+ status : number
74
+ timestamp : string
75
+ }
65
76
}
66
77
/**
67
78
* Content Too Large
68
79
*/
69
80
413 : {
70
- message : string
81
+ error : {
82
+ message : string
83
+ request_id : string
84
+ status : number
85
+ timestamp : string
86
+ }
71
87
}
72
88
}
73
89
Original file line number Diff line number Diff line change @@ -78,9 +78,8 @@ export async function upload({
78
78
branch_base : process . env . GITHUB_BASE_REF ,
79
79
ci_platform : 'github' ,
80
80
commit_sha : commitSha ,
81
- // @ts -expect-error
82
81
default_branch : defaultBranch ,
83
- dry_run : dryRun ,
82
+ dry_run : dryRun ? 'true' : 'false' ,
84
83
event_name : process . env . GITHUB_EVENT_NAME ,
85
84
job : process . env . GITHUB_JOB ,
86
85
ref : process . env . GITHUB_REF ,
You can’t perform that action at this time.
0 commit comments