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 = {
3333 branch_base ?: string
3434 ci_platform ?: string
3535 commit_sha ?: string
36- dry_run ?: boolean | null
36+ default_branch ?: string
37+ dry_run ?: string
3738 event_name ?: string
3839 job ?: string
3940 ref ?: string
@@ -55,19 +56,34 @@ export type PostV1SpecificationsErrors = {
5556 * Unauthorized
5657 */
5758 401 : {
58- message : string
59+ error : {
60+ message : string
61+ request_id : string
62+ status : number
63+ timestamp : string
64+ }
5965 }
6066 /**
6167 * Forbidden
6268 */
6369 403 : {
64- message : string
70+ error : {
71+ message : string
72+ request_id : string
73+ status : number
74+ timestamp : string
75+ }
6576 }
6677 /**
6778 * Content Too Large
6879 */
6980 413 : {
70- message : string
81+ error : {
82+ message : string
83+ request_id : string
84+ status : number
85+ timestamp : string
86+ }
7187 }
7288}
7389
Original file line number Diff line number Diff line change @@ -78,9 +78,8 @@ export async function upload({
7878 branch_base : process . env . GITHUB_BASE_REF ,
7979 ci_platform : 'github' ,
8080 commit_sha : commitSha ,
81- // @ts -expect-error
8281 default_branch : defaultBranch ,
83- dry_run : dryRun ,
82+ dry_run : dryRun ? 'true' : 'false' ,
8483 event_name : process . env . GITHUB_EVENT_NAME ,
8584 job : process . env . GITHUB_JOB ,
8685 ref : process . env . GITHUB_REF ,
You can’t perform that action at this time.
0 commit comments