mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-09-02 21:59:22 +00:00
Problem Matcher: Capture code and severity
Make the problem matcher capture Hadolint's output more acurately. related-to: hadolint/hadolint-action#78 Signed-off-by: Moritz Röhrich <moritz@ildefons.de>
This commit is contained in:
@@ -4,10 +4,12 @@
|
|||||||
"owner": "hadolint/hadolint-action",
|
"owner": "hadolint/hadolint-action",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "(.*)\\:(\\d+)\\s(.*)",
|
"regexp": "^(.+):(\\d+)\\s(.+)\\s(error|warning|info|style):\\s(.+)$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"message": 3
|
"code": 3,
|
||||||
|
"severity": 4,
|
||||||
|
"message": 5
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user