Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove conan folder before running codeQL analysis #727

Merged
merged 4 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/codeql/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: "CodeQL code scanning custom configuration"

disable-default-queries: true
3 changes: 3 additions & 0 deletions .github/codeql/security.qls
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- qlpack: codeql-cpp
- apply: codeql-suites/cpp-security-extended.qls
from: codeql-cpp
6 changes: 4 additions & 2 deletions .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:

# 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
# queries: security-extended,security-and-quality
queries: ns1/NS1QLPacks/codeql/cpp/NS1-security.qls@main
config-file: ns1/NS1QLPacks/codeql/NS1-codeql-config.yml@main
queries: ./.github/codeql/security.qls
config-file: ./.github/codeql/config.yml

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down Expand Up @@ -104,6 +104,8 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release ..
# build and run tests
make all test
#remove conan files
rm -rf conan_home/

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Loading