Remind "Milestone ending" in Slack
Our VP needs remind us to finish the "Milestone ending" at a fixed time each month, we can make it automatically.
Remind Logic
Use "Slack webhook" to send the remind content to the channel engineering-internal
, we can refer to the processor: triage/processor/code_review_experience_slack.rb
Remind Content
Example:
@dev-team 请大家今天下班前处理一下自己在 15.xx 中的遗留 issue,根据 issue 的实际情况 close 掉或移至 15.x。
- @GaoJiahao [当前 15.xx 还有 3 个 issue 需要处理](https://jihulab.com/groups/gitlab-cn/-/issues/?state=opened&milestone_title=Started&assignee_username%5B%5D=jhgao)
- @Song Huang [当前 15.xx 还有 2 个 issue 需要处理](https://jihulab.com/groups/gitlab-cn/-/issues/?state=opened&milestone_title=Started&assignee_username%5B%5D=songhuang)
- @user_3...
- @user_4...
- @user_5...
Note: Get the top 5 users by number of open issues.
Remind Time
每个月 14 号(里程碑结束前三天) 9 点,遇到双休向前推进
/cc @qianzhangxa
由 Song Huang 编辑于