@@ -135,7 +135,7 @@ pub(super) async fn parse_input(
135
135
None => return Ok ( None ) ,
136
136
} ;
137
137
if config. owners . is_empty ( )
138
- || !matches ! ( event. action, IssuesAction :: Opened )
138
+ || !matches ! ( event. action, IssuesAction :: Opened | IssuesAction :: Synchronize )
139
139
|| !event. issue . is_pr ( )
140
140
{
141
141
return Ok ( None ) ;
@@ -159,7 +159,7 @@ pub(super) async fn handle_input(
159
159
} ;
160
160
161
161
// Don't auto-assign or welcome if the user manually set the assignee when opening.
162
- if event. issue . assignees . is_empty ( ) {
162
+ if matches ! ( event . action , IssuesAction :: Opened ) && event. issue . assignees . is_empty ( ) {
163
163
let ( assignee, from_comment) = determine_assignee ( ctx, event, config, & diff) . await ?;
164
164
if assignee. as_deref ( ) == Some ( "ghost" ) {
165
165
// "ghost" is GitHub's placeholder account for deleted accounts.
@@ -214,7 +214,7 @@ pub(super) async fn handle_input(
214
214
}
215
215
}
216
216
217
- // Compute some warning messages to post to new PRs.
217
+ // Compute some warning messages to post to new (and old) PRs.
218
218
let mut warnings = Vec :: new ( ) ;
219
219
if let Some ( exceptions) = config. warn_non_default_branch . enabled_and_exceptions ( ) {
220
220
warnings. extend ( non_default_branch ( exceptions, event) ) ;
@@ -228,6 +228,7 @@ pub(super) async fn handle_input(
228
228
let warning = format ! ( ":warning: **Warning** :warning:\n \n {}" , warnings. join( "\n " ) ) ;
229
229
event. issue . post_comment ( & ctx. github , & warning) . await ?;
230
230
} ;
231
+
231
232
Ok ( ( ) )
232
233
}
233
234
0 commit comments