mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-04-07 19:22:03 +00:00
Add separate matcher for note to transform to notice (#53)
This commit is contained in:
parent
c2b45ddc5f
commit
203a3fd018
3 changed files with 16 additions and 4 deletions
16
.github/problem-matcher-gcc.json
vendored
16
.github/problem-matcher-gcc.json
vendored
|
@ -4,7 +4,7 @@
|
|||
"owner": "shellcheck-gcc",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\.\\/(.+):(\\d+):(\\d+):\\s(note|warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
|
||||
"regexp": "^\\.?\\/?(.+):(\\d+):(\\d+):\\s(warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
|
@ -13,6 +13,20 @@
|
|||
"code": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "shellcheck-gcc-notice",
|
||||
"severity": "notice",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^\\.?\\/?(.+):(\\d+):(\\d+):\\s(note):\\s(.*)\\s\\[(SC\\d+)\\]$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 5,
|
||||
"code": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
2
.github/problem-matcher-tty.json
vendored
2
.github/problem-matcher-tty.json
vendored
|
@ -4,7 +4,7 @@
|
|||
"owner": "shellcheck-tty",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^In\\s\\.\\/(.+)\\sline\\s(\\d+):$",
|
||||
"regexp": "^In\\s\\.?\\/?(.+)\\sline\\s(\\d+):$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
},
|
||||
|
|
2
.github/workflows/ignore_names.yml
vendored
2
.github/workflows/ignore_names.yml
vendored
|
@ -37,5 +37,3 @@ jobs:
|
|||
echo "::error:: Expected file $notexpect found in ${{ steps.check.outputs.files }}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue