ci: pack-ify our custom CodeQL queries and enable them in Actions

Unlike LGTM, the CodeQL Action requires the custom queries to have their
own qlpack.yml file, so let's provide one.
This commit is contained in:
Frantisek Sumsal 2021-12-07 14:57:09 +01:00
parent a6319961c9
commit a3f0533ffc
2 changed files with 15 additions and 1 deletions

View File

@ -6,4 +6,7 @@ name: "CodeQL config"
disable-default-queries: false
queries:
- uses: ./.github/codeql-custom.qls
- name: Enable possibly useful queries which are disabled by default
uses: ./.github/codeql-custom.qls
- name: systemd-specific CodeQL queries
uses: ./.lgtm/cpp-queries/

View File

@ -0,0 +1,11 @@
---
# vi: ts=2 sw=2 et syntax=yaml:
# SPDX-License-Identifier: LGPL-2.1-or-later
library: false
name: systemd/cpp-queries
version: 0.0.1
dependencies:
codeql/cpp-all: "*"
codeql/suite-helpers: "*"
extractor: cpp