没有不关闭的bug,不发送飞书
This commit is contained in:
@@ -303,8 +303,11 @@ def get_all_bugs_and_send():
|
||||
|
||||
# 发送到飞书
|
||||
print("\n发送消息到飞书...")
|
||||
success = send_to_feishu(feishu_webhook, message, keyword)
|
||||
|
||||
# 如果没有未打开的bug,则不发送飞书
|
||||
if open_bugs != 0:
|
||||
success = send_to_feishu(feishu_webhook, message, keyword)
|
||||
else:
|
||||
success = ""
|
||||
if success:
|
||||
print(f"✅ Bug统计报告已发送到飞书")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user