File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -520,19 +520,6 @@ pub(super) async fn handle_command(
520
520
}
521
521
} ;
522
522
523
- // Allow users on vacation to assign themselves to a PR, but not anyone else.
524
- if config. is_on_vacation ( & assignee) && !is_self_assign ( & assignee, & event. user ( ) . login ) {
525
- // This is a comment, so there must already be a reviewer assigned. No need to assign anyone else.
526
- issue
527
- . post_comment ( & ctx. github , & on_vacation_warning ( & assignee) )
528
- . await ?;
529
- return Ok ( ( ) ) ;
530
- }
531
- // Do not assign PR author
532
- if issue. user . login . to_lowercase ( ) == assignee. to_lowercase ( ) {
533
- return Ok ( ( ) ) ;
534
- }
535
-
536
523
set_assignee ( issue, & ctx. github , & assignee) . await ;
537
524
} else {
538
525
let e = EditIssueBody :: new ( & issue, "ASSIGN" ) ;
You can’t perform that action at this time.
0 commit comments