From 5746e52b3356b19f9d1d4ddfa3f17fb58fc7175d Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Wed, 30 Oct 2024 09:56:43 +0100 Subject: [PATCH] Exclude maintainer with "do_not_notify" in generate_report.py --- buildkite/bazel-central-registry/generate_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildkite/bazel-central-registry/generate_report.py b/buildkite/bazel-central-registry/generate_report.py index f9176ff977..942c4928b1 100755 --- a/buildkite/bazel-central-registry/generate_report.py +++ b/buildkite/bazel-central-registry/generate_report.py @@ -46,7 +46,7 @@ def get_github_maintainer(module_name): metadata = json.load(open(bcr_presubmit.get_metadata_json(module_name), "r")) github_maintainers = [] for maintainer in metadata["maintainers"]: - if "github" in maintainer: + if "github" in maintainer and not maintainer.get("do_not_notify"): github_maintainers.append(maintainer["github"]) if not github_maintainers: