summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-01-07 13:23:01 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2025-01-08 00:40:36 +0200
commit5b3914629884c4e3977ed4c97323b5c5b4ce9563 (patch)
treed116bf716dd49c9a134a94f831b5588117bad4d8
parentf782a1f118b19a90d100d25fa10391930cf39b3f (diff)
downloadmeson-5b3914629884c4e3977ed4c97323b5c5b4ce9563.tar.gz
CI: remove codeql
It rarely finds real issues that other scanners (pylint, flake8, mypy) don't find, and gives lots of useless and annoying errors that clutter discussions
-rw-r--r--.github/codeql/codeql-config.yml5
-rw-r--r--.github/codeql/lgtm.qls4
-rw-r--r--.github/workflows/codeql-analysis.yml32
3 files changed, 0 insertions, 41 deletions
diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml
deleted file mode 100644
index 9b144885f..000000000
--- a/.github/codeql/codeql-config.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-queries:
- - uses: ./.github/codeql/lgtm.qls
-
-paths-ignore:
- - 'test cases'
diff --git a/.github/codeql/lgtm.qls b/.github/codeql/lgtm.qls
deleted file mode 100644
index 9befc76ea..000000000
--- a/.github/codeql/lgtm.qls
+++ /dev/null
@@ -1,4 +0,0 @@
-# for some reason this doesn't work by default any way I can see
-
-- import: codeql-suites/python-lgtm.qls
- from: codeql/python-queries
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
deleted file mode 100644
index 6a78a36c6..000000000
--- a/.github/workflows/codeql-analysis.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-name: "CodeQL"
-
-on:
- push:
- branches: [ "master" ]
- pull_request:
- branches: [ "master" ]
-
-jobs:
- analyze:
- # lgtm.com does not run in forks, for good reason
- if: github.repository == 'mesonbuild/meson'
- name: Analyze
- runs-on: ubuntu-latest
- permissions:
- security-events: write
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v3
- with:
- # bypass cache: https://github.com/github/codeql-action/issues/1445
- tools: linked
- config-file: .github/codeql/codeql-config.yml
- languages: python
- # we have none
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v3