diff --git a/scripts/ci_notify_success.py b/scripts/ci_notify_success.py index 73c81b5ae..873aa5424 100644 --- a/scripts/ci_notify_success.py +++ b/scripts/ci_notify_success.py @@ -11,9 +11,7 @@ def main() -> int: webhook = os.environ.get("CI_NOTIFY_WEBHOOK", "") if not webhook: print("未配置 CI_NOTIFY_WEBHOOK,跳过成功通知") - print( - "如需启用,请在仓库 Settings -> Secrets and variables -> Actions 中添加 CI_NOTIFY_WEBHOOK" - ) + print("如需启用,请在仓库 Settings -> Secrets and variables -> Actions 中添加 CI_NOTIFY_WEBHOOK") return 0 success_job = os.environ.get("SUCCESS_JOB", "Unknown Job")