File tree 1 file changed +8
-4
lines changed 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,17 @@ jobs:
53
53
# This will handover control about PR rejection to the GitHub side
54
54
max-allowed-issues : 2147483647
55
55
56
- - name : Filter out MISRA
56
+ # Filter out MISRA and potentially reduce the number of runs in the SARIF output
57
+ - name : Filter and Reduce SARIF
57
58
run : |
58
59
pip install globber
59
- python3 scripts/filter_sarif.py --input results.sarif --output filtered.sarif --split-lines -- "-**/*.*:cppcheck_misra*"
60
+ python3 scripts/filter_and_reduce_sarif.py --input results.sarif --output filtered_and_reduced.sarif
61
+ env :
62
+ PYTHONUNBUFFERED : 1
60
63
61
- # Upload the SARIF file generated in the previous step
64
+
65
+ # Upload the SARIF file generated in the previous step
62
66
- name : Upload SARIF results file
63
67
uses : github/codeql-action/upload-sarif@v3
64
68
with :
65
- sarif_file : filtered .sarif
69
+ sarif_file : filtered_and_reduced .sarif
You can’t perform that action at this time.
0 commit comments