Skip to content

Commit 5bba316

Browse files
committed
changes to pass checks
Signed-off-by: Vinayakjeet Singh Karki <[email protected]>
1 parent fd5a530 commit 5bba316

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/codacy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,17 @@ jobs:
5353
# This will handover control about PR rejection to the GitHub side
5454
max-allowed-issues: 2147483647
5555

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
5758
run: |
5859
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
6063

61-
# Upload the SARIF file generated in the previous step
64+
65+
# Upload the SARIF file generated in the previous step
6266
- name: Upload SARIF results file
6367
uses: github/codeql-action/upload-sarif@v3
6468
with:
65-
sarif_file: filtered.sarif
69+
sarif_file: filtered_and_reduced.sarif

0 commit comments

Comments
 (0)