We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f94202 commit aac6b02Copy full SHA for aac6b02
1 file changed
.github/workflows/eclair.yaml
@@ -112,7 +112,8 @@ jobs:
112
113
- name: Scan code with Eclair
114
run: |
115
- ./scripts/twister -j 16 -p qemu_x86 -T samples/synchronization -i --build-only -v -xZEPHYR_SCA_VARIANT=eclair -x=USE_CCACHE=0 -xECLAIR_REPORTS_SARIF=1
+ ./scripts/twister -j 16 -p qemu_x86 -T samples/synchronization -i --build-only -v -xZEPHYR_SCA_VARIANT=eclair -x=USE_CCACHE=0 -xECLAIR_REPORTS_SARIF=1 -xECLAIR_RULESET_USER=zephyr_guidelines
116
+
117
jq -s '{ "$schema": "https://json.schemastore.org/sarif-2.1.0", "version": "2.1.0", "runs": map(.runs) | add }' $(find twister-out -name "reports.sarif") > results.sarif
118
jq --arg basepath "file://${GITHUB_WORKSPACE}/" '
119
.runs[].results[] |= (
0 commit comments