]> git.ipfire.org Git - thirdparty/kmod.git/commit
ci/codeql: use filter-sarif to filter meson-private
authorEnrico Joerns <ejo@pengutronix.de>
Wed, 28 Feb 2024 23:33:30 +0000 (00:33 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 19 Nov 2024 07:36:56 +0000 (01:36 -0600)
commit4b5d9681ce60cc8028812cd8db59adeb3c4354ed
treeeaebc03a605afe3fc5d9dbe8392e98a5b19ac9b2
parent9cbb97993462f3c1b0613bdc9cfe425d21e53356
ci/codeql: use filter-sarif to filter meson-private

There is a severe number of false-positive in code scanning caused by
inspecting meson-internal test files like
'build/meson-private/tmpzb46osmq/testfile.c'.

As a workaround, use the 'filter-sarif' action to filter out these
results before uploading the SARIF (Static Analysis Results Interchange
Format).

This PR was inspired by https://github.com/rauc/rauc/pull/1346 and the
example from https://github.com/advanced-security/filter-sarif.

Signed-off-by: Enrico Joerns <ejo@pengutronix.de>
[Emil: port from rauc, use checksums for actions]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/249
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.github/workflows/codeql.yml