diff --git a/pungi/checks.py b/pungi/checks.py index fe8caab8..e32a6994 100644 --- a/pungi/checks.py +++ b/pungi/checks.py @@ -286,7 +286,7 @@ def _make_schema(): "enum": ["file", "cvs", "git", "rpm"], }, "repo": {"type": "string"}, - "branch": {"type": "string"}, + "branch": {"$ref": "#/definitions/optional_string"}, "file": {"type": "string"}, "dir": {"type": "string"}, },