From dd2df4606d63a9fa8f8381d02db46867004dd70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Mon, 25 May 2020 13:07:18 +0200 Subject: [PATCH] Fix GitLab merge request state enum --- danger_python/models.py | 2 +- scripts/input_schema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/danger_python/models.py b/danger_python/models.py index fec7b02..f3ab879 100644 --- a/danger_python/models.py +++ b/danger_python/models.py @@ -1466,7 +1466,7 @@ class GitLabMRState(Enum): CLOSED = "closed" LOCKED = "locked" MERGED = "merged" - OPEN = "open" + OPEN = "opened" class GitLabMRTimeStats(BaseModel): diff --git a/scripts/input_schema.json b/scripts/input_schema.json index dc2988d..fb6b471 100644 --- a/scripts/input_schema.json +++ b/scripts/input_schema.json @@ -1842,7 +1842,7 @@ "closed", "locked", "merged", - "open" + "opened" ], "type": "string" },