Skip to content

Commit

Permalink
changes to pass checks
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayakjeet Singh Karki <139736674+vinayakjeet@users.noreply.github.com>
  • Loading branch information
vinayakjeet committed Apr 17, 2024
1 parent fd5a530 commit 5bba316
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ jobs:
# This will handover control about PR rejection to the GitHub side
max-allowed-issues: 2147483647

- name: Filter out MISRA
# Filter out MISRA and potentially reduce the number of runs in the SARIF output
- name: Filter and Reduce SARIF
run: |
pip install globber
python3 scripts/filter_sarif.py --input results.sarif --output filtered.sarif --split-lines -- "-**/*.*:cppcheck_misra*"
python3 scripts/filter_and_reduce_sarif.py --input results.sarif --output filtered_and_reduced.sarif
env:
PYTHONUNBUFFERED: 1

# Upload the SARIF file generated in the previous step

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: filtered.sarif
sarif_file: filtered_and_reduced.sarif

0 comments on commit 5bba316

Please sign in to comment.