File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 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(
6464r? @ghost" ,
6565 origin_url, branch. rolled_up_pr_number
6666 ) ,
67+ true ,
6768 )
6869 . await
6970 . context ( "Created PR" ) ?;
@@ -247,6 +248,7 @@ struct CreatePrRequest<'a> {
247248 base : & ' a str ,
248249 #[ serde( rename = "body" ) ]
249250 description : & ' a str ,
251+ draft : bool ,
250252}
251253
252254#[ derive( Debug , serde:: Deserialize ) ]
@@ -264,6 +266,7 @@ pub async fn create_pr(
264266 head : & str ,
265267 base : & str ,
266268 description : & str ,
269+ draft : bool ,
267270) -> anyhow:: Result < CreatePrResponse > {
268271 let timer_token = ctxt
269272 . config
@@ -279,6 +282,7 @@ pub async fn create_pr(
279282 head,
280283 base,
281284 description,
285+ draft,
282286 } )
283287 . header ( USER_AGENT , "perf-rust-lang-org-server" )
284288 . basic_auth ( "rust-timer" , Some ( timer_token) )
You can’t perform that action at this time.
0 commit comments