Skip to content

Commit 6b532ae

Browse files
authored
chore: remove conan folder before running codeQL analysis (#727)
1 parent c260fdc commit 6b532ae

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/codeql/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: "CodeQL code scanning custom configuration"
2+
3+
disable-default-queries: true

.github/codeql/security.qls

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- qlpack: codeql-cpp
2+
- apply: codeql-suites/cpp-security-extended.qls
3+
from: codeql-cpp

.github/workflows/code-ql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353

5454
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5555
# queries: security-extended,security-and-quality
56-
queries: ns1/NS1QLPacks/codeql/cpp/NS1-security.qls@main
57-
config-file: ns1/NS1QLPacks/codeql/NS1-codeql-config.yml@main
56+
queries: ./.github/codeql/security.qls
57+
config-file: ./.github/codeql/config.yml
5858

5959
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6060
# If this step fails, then you should remove it and run the build manually (see below)
@@ -104,6 +104,8 @@ jobs:
104104
cmake -DCMAKE_BUILD_TYPE=Release ..
105105
# build and run tests
106106
make all test
107+
#remove conan files
108+
rm -rf conan_home/
107109
108110
- name: Perform CodeQL Analysis
109111
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)