refactor: improved problem matcher

This commit is contained in:
Jonas Geiler 2024-08-24 14:43:46 +02:00 committed by GitHub
parent d292784f8f
commit 7757cff548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,10 +4,12 @@
"owner": "brpaz/hadolint-action", "owner": "brpaz/hadolint-action",
"pattern": [ "pattern": [
{ {
"regexp": "(.*)\\:(\\d+)\\s(.*)", "regexp": "^(.*):(\\d+)\\s(DL\\d+)\\s(style|info|warning|error):\\s(.*)$",
"file": 1, "file": 1,
"line": 2, "line": 2,
"message": 3 "code": 3,
"severity": 4,
"message": 5
} }
] ]
} }