diff --git a/scripts/release_helper/python.py b/scripts/release_helper/python.py index f444063ed165..b0e934038341 100644 --- a/scripts/release_helper/python.py +++ b/scripts/release_helper/python.py @@ -17,6 +17,7 @@ _BRANCH_ATTENTION = 'base-branch-attention' _7_DAY_ATTENTION = '7days attention' _MultiAPI = 'MultiAPI' +_ON_TIME = 'on time' # record published issues _FILE_OUT = 'published_issues_python.csv' @@ -110,6 +111,10 @@ def attention_policy(self): if _BRANCH_ATTENTION in self.issue_package.labels_name: self.bot_advice.append('new version is 0.0.0, please check base branch!') + def on_time_policy(self): + if _ON_TIME in self.issue_package.labels_name: + self.bot_advice.append('on time') + def remind_policy(self): if self.delay_time >= 15 and _7_DAY_ATTENTION in self.issue_package.labels_name and self.date_from_target < 0: self.comment( @@ -126,6 +131,7 @@ def auto_bot_advice(self): super().auto_bot_advice() self.multi_api_policy() self.attention_policy() + self.on_time_policy() self.remind_policy()