Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

机器人现在每周都会生成多次周报,希望一周只生成一次 #46

Open
tangbzai opened this issue Dec 18, 2024 · 0 comments

Comments

@tangbzai
Copy link

背景

机器人现在每周都会生成多次周报,这样会导致issues出现大量相同的周报。尽管最后只会保留一个周报是打开的状态,但是还是会影响寻找一些关闭状态的issues的体验。

期望

每周只生成一次周报

可能的改进方案

  • 将机器人createScheduler(index.ts)时设置每天一次触发(目前时1小时一次)
  • moment.utc().day() === getNumDayFromLongDay(6)(digest.ts)判断改为具体到小时的判断
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant