diff --git a/problem-matcher.json b/problem-matcher.json index 215a6e0..ef5389c 100644 --- a/problem-matcher.json +++ b/problem-matcher.json @@ -4,10 +4,12 @@ "owner": "brpaz/hadolint-action", "pattern": [ { - "regexp": "(.*)\\:(\\d+)\\s(.*)", + "regexp": "^(.*):(\\d+)\\s((?:DL|SC)\\d+)\\s(?:\\x1b\\[\\d+m)*(style|info|warning|error)(?:\\x1b\\[\\d+m)?:\\s(.*)$", "file": 1, "line": 2, - "message": 3 + "code": 3, + "severity": 4, + "message": 5 } ] }