Skip to content

Commit 1ef6621

Browse files
committed
Improve hadolint problem matcher
1 parent 27e2e7b commit 1ef6621

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/problem-matchers/hadolint.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
"owner": "hadolint",
55
"pattern": [
66
{
7-
"regexp": "^(.+?):(\\d+)\\s+(.*)$",
7+
"regexp": "^(.*?):(\\d+) (DL\\d+|SC\\d+) (warning|error|info|style): (.*)$",
88
"file": 1,
99
"line": 2,
10-
"message": 3
10+
"code": 3,
11+
"severity": 4,
12+
"message": 5
1113
}
1214
]
1315
}

0 commit comments

Comments
 (0)