File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def filter_new(issues):
63
63
def is_new (issue ):
64
64
'''Filter function.'''
65
65
match = True
66
- category_list = ['contactready' , 'needscontact' ,
67
- 'needsdiagnosis' , 'sitewait' ]
66
+ category_list = ['status- contactready' , 'status- needscontact' ,
67
+ 'status- needsdiagnosis' , 'status- sitewait' ]
68
68
labels = [label .get ('name' ) for label in issue .get ('labels' )]
69
69
# if the intersection of labels and category_list is not empty
70
70
# then it's not part of untriaged
Original file line number Diff line number Diff line change 32
32
this . set ( 'stateClass' , 'close' ) ;
33
33
return 'Closed' ;
34
34
}
35
- if ( labelsNames . indexOf ( 'sitewait' ) > - 1 ) {
35
+ if ( labelsNames . indexOf ( 'status- sitewait' ) > - 1 ) {
36
36
this . set ( 'stateClass' , 'sitewait' ) ;
37
37
return 'Site Contacted' ;
38
38
}
39
- if ( labelsNames . indexOf ( 'contactready' ) > - 1 ) {
39
+ if ( labelsNames . indexOf ( 'status- contactready' ) > - 1 ) {
40
40
this . set ( 'stateClass' , 'ready' ) ;
41
41
return 'Ready for Outreach' ;
42
42
}
43
- if ( labelsNames . indexOf ( 'needsdiagnosis' ) > - 1 ) {
43
+ if ( labelsNames . indexOf ( 'status- needsdiagnosis' ) > - 1 ) {
44
44
this . set ( 'stateClass' , 'need' ) ;
45
45
return 'Needs Diagnosis' ;
46
46
}
You can’t perform that action at this time.
0 commit comments