From 7757cff548f12b5133a6eb2c9dde4d7142a0fbbb Mon Sep 17 00:00:00 2001 From: Jonas Geiler Date: Sat, 24 Aug 2024 14:43:46 +0200 Subject: [PATCH] refactor: improved problem matcher --- problem-matcher.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/problem-matcher.json b/problem-matcher.json index 215a6e0..d59ca53 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\\d+)\\s(style|info|warning|error):\\s(.*)$", "file": 1, "line": 2, - "message": 3 + "code": 3, + "severity": 4, + "message": 5 } ] }