mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 17:41:58 +01:00
Add separate matcher for note to transform to notice (#53)
This commit is contained in:
parent
c2b45ddc5f
commit
203a3fd018
16
.github/problem-matcher-gcc.json
vendored
16
.github/problem-matcher-gcc.json
vendored
@ -4,7 +4,7 @@
|
|||||||
"owner": "shellcheck-gcc",
|
"owner": "shellcheck-gcc",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^\\.\\/(.+):(\\d+):(\\d+):\\s(note|warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
|
"regexp": "^\\.?\\/?(.+):(\\d+):(\\d+):\\s(warning|error):\\s(.*)\\s\\[(SC\\d+)\\]$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2,
|
"line": 2,
|
||||||
"column": 3,
|
"column": 3,
|
||||||
@ -13,6 +13,20 @@
|
|||||||
"code": 6
|
"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",
|
"owner": "shellcheck-tty",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^In\\s\\.\\/(.+)\\sline\\s(\\d+):$",
|
"regexp": "^In\\s\\.?\\/?(.+)\\sline\\s(\\d+):$",
|
||||||
"file": 1,
|
"file": 1,
|
||||||
"line": 2
|
"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 }}"
|
echo "::error:: Expected file $notexpect found in ${{ steps.check.outputs.files }}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user