aboutsummaryrefslogtreecommitdiff
path: root/.github/codeql
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-11-25 01:05:56 -0500
committerDylan Baker <dylan@pnwbakers.com>2022-11-28 12:02:17 -0800
commit5022fd30e1a922ad7f2dfc81648d3c73c5f2aa22 (patch)
tree7384ceb5a7a07fd76eb91963d3005255fc7f04a9 /.github/codeql
parent81d7c24a59bf4a991fe57579aa11a32b32779680 (diff)
downloadmeson-5022fd30e1a922ad7f2dfc81648d3c73c5f2aa22.zip
meson-5022fd30e1a922ad7f2dfc81648d3c73c5f2aa22.tar.gz
meson-5022fd30e1a922ad7f2dfc81648d3c73c5f2aa22.tar.bz2
Add github's CodeQL scanner to CI.
lgtm.com was acquired by github. It is deprecated and on its way out, because they've integrated the functionality itself into github. Take a look at what its official replacement can do. This does run as yet another Actions slot, which is already fairly excessive, but the average runtime seems about 5 minutes so that's not too bad...
Diffstat (limited to '.github/codeql')
-rw-r--r--.github/codeql/codeql-config.yml5
-rw-r--r--.github/codeql/lgtm.qls4
2 files changed, 9 insertions, 0 deletions
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
new file mode 100644
index 0000000..9b14488
--- /dev/null
+++ b/.github/codeql/codeql-config.yml
@@ -0,0 +1,5 @@
+queries:
+ - uses: ./.github/codeql/lgtm.qls
+
+paths-ignore:
+ - 'test cases'
diff --git a/.github/codeql/lgtm.qls b/.github/codeql/lgtm.qls
new file mode 100644
index 0000000..9befc76
--- /dev/null
+++ b/.github/codeql/lgtm.qls
@@ -0,0 +1,4 @@
+# for some reason this doesn't work by default any way I can see
+
+- import: codeql-suites/python-lgtm.qls
+ from: codeql/python-queries