diff --git a/problem-matcher.json b/problem-matcher.json index 089f9c6..14f0641 100644 --- a/problem-matcher.json +++ b/problem-matcher.json @@ -4,10 +4,12 @@ "owner": "hadolint/hadolint-action", "pattern": [ { - "regexp": "(.*)\\:(\\d+)\\s(.*)", + "regexp": "^(.+):(\\d+)\\s(.+)\\s(error|warning|info|style):\\s(.+)$", "file": 1, "line": 2, - "message": 3 + "code": 3, + "severity": 4, + "message": 5 } ] }