File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ pub async fn pr_and_try_for_rollup(
64
64
r? @ghost" ,
65
65
origin_url, branch. rolled_up_pr_number
66
66
) ,
67
+ true ,
67
68
)
68
69
. await
69
70
. context ( "Created PR" ) ?;
@@ -247,6 +248,7 @@ struct CreatePrRequest<'a> {
247
248
base : & ' a str ,
248
249
#[ serde( rename = "body" ) ]
249
250
description : & ' a str ,
251
+ draft : bool ,
250
252
}
251
253
252
254
#[ derive( Debug , serde:: Deserialize ) ]
@@ -264,6 +266,7 @@ pub async fn create_pr(
264
266
head : & str ,
265
267
base : & str ,
266
268
description : & str ,
269
+ draft : bool ,
267
270
) -> anyhow:: Result < CreatePrResponse > {
268
271
let timer_token = ctxt
269
272
. config
@@ -279,6 +282,7 @@ pub async fn create_pr(
279
282
head,
280
283
base,
281
284
description,
285
+ draft,
282
286
} )
283
287
. header ( USER_AGENT , "perf-rust-lang-org-server" )
284
288
. basic_auth ( "rust-timer" , Some ( timer_token) )
You can’t perform that action at this time.
0 commit comments