From 0e39be44f633b61a7920ea616895fac934b36cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20B=C3=A4r?= Date: Tue, 17 Dec 2024 14:42:45 +0100 Subject: [PATCH] chore: fix the `--no-github` argument type --- git-cliff-release/enhance_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cliff-release/enhance_context.py b/git-cliff-release/enhance_context.py index 5951e3c..79fa60f 100644 --- a/git-cliff-release/enhance_context.py +++ b/git-cliff-release/enhance_context.py @@ -66,7 +66,7 @@ def enhance_commit(commit: dict[str, Any], pr_issues: dict[int, list[int]]) -> N parser.add_argument("--repo", type=str, required=True) parser.add_argument("--unreleased-version", nargs="?", default=None, type=str) parser.add_argument("--release-notes", action=BooleanOptionalAction) -parser.add_argument("--no-github", type=bool, required=False, default=False) +parser.add_argument("--no-github", type=bool, nargs="?", default=False) if __name__ == "__main__":