Exclude external code from CodeQL scanning. (#19923)
Austin S. Hemmelgarn committed
Mar 20, 2025 at 12:53 UTC
ccf2d2c1adb0b8c810d8fe14de5bb213ad0e3a80
2 files changed
+4
-1
.github/codeql/c-cpp-config.yml
+2
@@ -1,2 +1,4 @@
1
paths-ignore:
2
+ - build/*
3
- httpd/h2o
4
+ - src/collectors/debugfs.plugin/libsensors/vendored
.github/workflows/codeql.yml
+2
-1
@@ -97,8 +97,9 @@ jobs:
97
- name: Initialize CodeQL
98
uses: github/codeql-action/init@v3
99
with:
100
- languages: cpp
100
+ languages: c-cpp
101
config-file: ./.github/codeql/c-cpp-config.yml
102
+ build-mode: none
103
- name: Prepare environment
104
run: ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
105
- name: Build netdata