INNER CODE UNIT · Python
DirectCommit
fluxerapp/flutter_client · .github/scripts/append_release_direct_commits.py:53
class DirectCommit:
sha: str
title: str
author: str
category: str
def read_excluded_authors() -> frozenset[str]:
raw_value = os.environ.get("EXCLUDE_CONTRIBUTORS", "").strip()
if raw_value == "":
return DEFAULT_EXCLUDED_AUTHORS
extra_authors = {author.strip() for author in raw_value.split(",") if author.strip() != ""}
return DEFAULT_EXCLUDED_AUTHORS | extra_authors
def run_gh_json(args: list[str]) -> object:
completed = subprocess.run(
["gh", *args],