File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,6 +144,24 @@ jobs:
144144 if : startsWith(matrix.libtorrent.version, 2) && (matrix.qbt_gui == 'GUI=ON')
145145 with :
146146 category : ${{ github.base_ref || github.ref_name }}
147+ output : sarif-results
148+ upload : none
149+
150+ # Filter out results from 3rdparty codebases
151+ - name : Filter CodeQL results
152+ uses : advanced-security/filter-sarif@v1.1
153+ if : startsWith(matrix.libtorrent.version, 2) && (matrix.qbt_gui == 'GUI=ON')
154+ with :
155+ patterns : |
156+ -src/base/3rdparty/**
157+ input : sarif-results/cpp.sarif
158+ output : sarif-results/cpp.sarif
159+
160+ - name : Upload CodeQL SARIF
161+ uses : github/codeql-action/upload-sarif@v4
162+ if : startsWith(matrix.libtorrent.version, 2) && (matrix.qbt_gui == 'GUI=ON')
163+ with :
164+ sarif_file : sarif-results/cpp.sarif
147165
148166 - name : Prepare build artifacts
149167 run : |
You can’t perform that action at this time.
0 commit comments