diff --git a/bench_runner/gh.py b/bench_runner/gh.py index 6417ea59..ba33fec0 100644 --- a/bench_runner/gh.py +++ b/bench_runner/gh.py @@ -74,6 +74,10 @@ def send_notification(body): conf = config.get_bench_runner_config() notification_issue = conf.get("notify", {}).get("notification_issue", 0) + if notification_issue == 0: + print("Not sending Github notification.") + return + print("Sending Github notification:") print("---") print(body)