diff --git a/.github/problem-matcher-gcc.json b/.github/problem-matcher-gcc.json index 47672e0..09b4070 100644 --- a/.github/problem-matcher-gcc.json +++ b/.github/problem-matcher-gcc.json @@ -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 + } + ] } ] } diff --git a/.github/problem-matcher-tty.json b/.github/problem-matcher-tty.json index 3bdca4d..2467ff8 100644 --- a/.github/problem-matcher-tty.json +++ b/.github/problem-matcher-tty.json @@ -4,7 +4,7 @@ "owner": "shellcheck-tty", "pattern": [ { - "regexp": "^In\\s\\.\\/(.+)\\sline\\s(\\d+):$", + "regexp": "^In\\s\\.?\\/?(.+)\\sline\\s(\\d+):$", "file": 1, "line": 2 }, diff --git a/.github/workflows/ignore_names.yml b/.github/workflows/ignore_names.yml index 8e03775..9686edd 100644 --- a/.github/workflows/ignore_names.yml +++ b/.github/workflows/ignore_names.yml @@ -37,5 +37,3 @@ jobs: echo "::error:: Expected file $notexpect found in ${{ steps.check.outputs.files }}" exit 1 fi - -