File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -888,6 +888,8 @@ pub enum IssuesAction {
888
888
ReadyForReview ,
889
889
Synchronize ,
890
890
ConvertedToDraft ,
891
+ AutoMergeEnabled ,
892
+ AutoMergeDisabled ,
891
893
}
892
894
893
895
#[ derive( Debug , serde:: Deserialize ) ]
Original file line number Diff line number Diff line change @@ -151,7 +151,14 @@ async fn id_from_user(
151
151
let team = match github:: get_team ( & ctx. github , team) . await {
152
152
Ok ( Some ( team) ) => team,
153
153
Ok ( None ) => {
154
- log:: error!( "team ping ({}) failed to resolve to a known team" , login) ;
154
+ // If the team is in rust-lang*, then this is probably an error (potentially user
155
+ // error, but should be investigated). Otherwise it's probably not going to be in
156
+ // the team repository so isn't actually an error.
157
+ if login. starts_with ( "rust" ) {
158
+ log:: error!( "team ping ({}) failed to resolve to a known team" , login) ;
159
+ } else {
160
+ log:: info!( "team ping ({}) failed to resolve to a known team" , login) ;
161
+ }
155
162
return Ok ( None ) ;
156
163
}
157
164
Err ( err) => {
You can’t perform that action at this time.
0 commit comments