File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 17
17
_BRANCH_ATTENTION = 'base-branch-attention'
18
18
_7_DAY_ATTENTION = '7days attention'
19
19
_MultiAPI = 'MultiAPI'
20
+ _ON_TIME = 'on time'
20
21
# record published issues
21
22
_FILE_OUT = 'published_issues_python.csv'
22
23
@@ -110,6 +111,10 @@ def attention_policy(self):
110
111
if _BRANCH_ATTENTION in self .issue_package .labels_name :
111
112
self .bot_advice .append ('new version is 0.0.0, please check base branch!' )
112
113
114
+ def on_time_policy (self ):
115
+ if _ON_TIME in self .issue_package .labels_name :
116
+ self .bot_advice .append ('on time' )
117
+
113
118
def remind_policy (self ):
114
119
if self .delay_time >= 15 and _7_DAY_ATTENTION in self .issue_package .labels_name and self .date_from_target < 0 :
115
120
self .comment (
@@ -126,6 +131,7 @@ def auto_bot_advice(self):
126
131
super ().auto_bot_advice ()
127
132
self .multi_api_policy ()
128
133
self .attention_policy ()
134
+ self .on_time_policy ()
129
135
self .remind_policy ()
130
136
131
137
You can’t perform that action at this time.
0 commit comments