Skip to content

Commit 2761e8a

Browse files
committed
fix
1 parent 6e0f855 commit 2761e8a

File tree

3 files changed

+19
-24
lines changed

3 files changed

+19
-24
lines changed

.github/codeql/codeql-config-boards.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/boards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
with:
9797
languages: cpp
9898
build-mode: manual
99-
config-file: ./.github/codeql/codeql-config-boards.yml
99+
config-file: ./.github/codeql/codeql-config.yml
100100

101101
- name: Compile sketch
102102
uses: P-R-O-C-H-Y/compile-sketches@a62f069b92dc8f5053da4ac439ea6d1950cf6379 # main

.github/workflows/tests_build.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,24 @@ jobs:
7777
- name: Run CodeQL Analysis
7878
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
7979
with:
80-
check_name: "CodeQL runtime ${{ inputs.type }} tests for ${{ inputs.chip }}"
80+
category: "Tests: ${{ inputs.type }} for ${{ inputs.chip }}"
81+
output: sarif-results
82+
upload: failure-only
83+
84+
- name: Filter CodeQL Results
85+
uses: advanced-security/filter-sarif@v1
86+
with:
87+
patterns: |
88+
+**/*
89+
-tools/**
90+
input: sarif-results/cpp.sarif
91+
output: sarif-results/cpp.sarif
92+
93+
- name: Upload filtered SARIF
94+
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
95+
with:
96+
sarif_file: sarif-results/cpp.sarif
97+
category: "Tests: ${{ inputs.type }} for ${{ inputs.chip }}"
8198

8299
- name: Upload ${{ inputs.chip }} ${{ inputs.type }} binaries as cache
83100
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

0 commit comments

Comments
 (0)