diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-09-13 21:28:00 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2022-09-13 21:32:15 +0200 |
commit | 774cf0d8fdc735f71f835987aaf153a809b53403 (patch) | |
tree | 682ff10fdfd43f11d6f609fd6cb33ea43512b15d | |
parent | 27d6281158f5c11a557be45a770dabfc66eb980f (diff) | |
download | systemd-774cf0d8fdc735f71f835987aaf153a809b53403.tar.gz |
ci: drop LGTM stuff and move remaining bits into a new location
-rw-r--r-- | .github/codeql-config.yml | 2 | ||||
-rw-r--r-- | .github/codeql-queries/PotentiallyDangerousFunction.ql (renamed from .lgtm/cpp-queries/PotentiallyDangerousFunction.ql) | 0 | ||||
-rw-r--r-- | .github/codeql-queries/UninitializedVariableWithCleanup.ql (renamed from .lgtm/cpp-queries/UninitializedVariableWithCleanup.ql) | 0 | ||||
-rw-r--r-- | .github/codeql-queries/qlpack.yml (renamed from .lgtm/cpp-queries/qlpack.yml) | 0 | ||||
-rw-r--r-- | .lgtm.yml | 40 |
5 files changed, 1 insertions, 41 deletions
diff --git a/.github/codeql-config.yml b/.github/codeql-config.yml index 447e53bd1b..7c01d32caa 100644 --- a/.github/codeql-config.yml +++ b/.github/codeql-config.yml @@ -9,4 +9,4 @@ queries: - name: Enable possibly useful queries which are disabled by default uses: ./.github/codeql-custom.qls - name: systemd-specific CodeQL queries - uses: ./.lgtm/cpp-queries/ + uses: ./.github/codeql-queries/ diff --git a/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql b/.github/codeql-queries/PotentiallyDangerousFunction.ql index 63fd14e75f..63fd14e75f 100644 --- a/.lgtm/cpp-queries/PotentiallyDangerousFunction.ql +++ b/.github/codeql-queries/PotentiallyDangerousFunction.ql diff --git a/.lgtm/cpp-queries/UninitializedVariableWithCleanup.ql b/.github/codeql-queries/UninitializedVariableWithCleanup.ql index 6b3b62f8bc..6b3b62f8bc 100644 --- a/.lgtm/cpp-queries/UninitializedVariableWithCleanup.ql +++ b/.github/codeql-queries/UninitializedVariableWithCleanup.ql diff --git a/.lgtm/cpp-queries/qlpack.yml b/.github/codeql-queries/qlpack.yml index a1a2dec6d6..a1a2dec6d6 100644 --- a/.lgtm/cpp-queries/qlpack.yml +++ b/.github/codeql-queries/qlpack.yml diff --git a/.lgtm.yml b/.lgtm.yml deleted file mode 100644 index 86fd0e742c..0000000000 --- a/.lgtm.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# vi: ts=2 sw=2 et: -# SPDX-License-Identifier: LGPL-2.1-or-later - -# Explicitly enable certain checks which are hidden by default -queries: - - include: cpp/bad-strncpy-size - - include: cpp/declaration-hides-variable - - include: cpp/inconsistent-null-check - - include: cpp/mistyped-function-arguments - - include: cpp/nested-loops-with-same-variable - - include: cpp/sizeof-side-effect - - include: cpp/suspicious-pointer-scaling - - include: cpp/suspicious-pointer-scaling-void - - include: cpp/suspicious-sizeof - - include: cpp/unsafe-strcat - - include: cpp/unsafe-strncat - - include: cpp/unsigned-difference-expression-compared-zero - - include: cpp/unused-local-variable - - include: - tags: - - "security" - - "correctness" - severity: "error" - -extraction: - cpp: - prepare: - packages: - - libpwquality-dev - - libfdisk-dev - - libp11-kit-dev - - libssl-dev - - python3-jinja2 - after_prepare: - - pip3 install -r .github/workflows/requirements.txt --require-hashes - - export PATH="/opt/work/.local/bin:$PATH" - python: - python_setup: - version: 3 |