Skip to content

Commit 3dcd4a3

Browse files
authored
Exclude maintainer with "do_not_notify" in generate_report.py (#2092)
Context: https://github.com/bazelbuild/bazel-central-registry/blob/main/modules/protobuf/metadata.json
1 parent 1375273 commit 3dcd4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildkite/bazel-central-registry/generate_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_github_maintainer(module_name):
4646
metadata = json.load(open(bcr_presubmit.get_metadata_json(module_name), "r"))
4747
github_maintainers = []
4848
for maintainer in metadata["maintainers"]:
49-
if "github" in maintainer:
49+
if "github" in maintainer and not maintainer.get("do_not_notify"):
5050
github_maintainers.append(maintainer["github"])
5151

5252
if not github_maintainers:

0 commit comments

Comments
 (0)