Skip to content

Commit

Permalink
Exclude maintainer with "do_not_notify" in generate_report.py
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy authored Oct 30, 2024
1 parent 1375273 commit 5746e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildkite/bazel-central-registry/generate_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5746e52

Please sign in to comment.