Skip to content

Commit b2316a1

Browse files
committed
fixed call to script
1 parent fb4720d commit b2316a1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/codeql-multiple-repo-scan.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,20 @@ jobs:
163163
output: sarif-results/
164164
category: "multi-repo-scan"
165165

166+
# Post-Processing für Guideline Re-categorization
166167
- name: Recategorize Guidelines
167168
if: always()
168-
run: |
169+
run: |
169170
RECATEGORIZE_SCRIPT="codeql-coding-standards-repo/scripts/guideline_recategorization/recategorize.py"
170171
CODING_STANDARDS_CONFIG="./.github/codeql/coding-standards.yml"
172+
171173
mkdir -p sarif-results-recategorized
172174
for sarif_file in sarif-results/*.sarif; do
173-
echo "Processing $sarif_file for recategorization..."
175+
echo "Processing $sarif_file for recategorization..."
174176
python3 "$RECATEGORIZE_SCRIPT" \
175-
coding_standards_config_file "$CODING_STANDARDS_CONFIG" \
176-
sarif_in "$sarif_file" \
177-
sarif_out "sarif-results-recategorized/$(basename "$sarif_file")"
177+
"$CODING_STANDARDS_CONFIG" \
178+
"$sarif_file" \
179+
"sarif-results-recategorized/$(basename "$sarif_file")"
178180
done
179181
rm -rf sarif-results/*
180182
mv sarif-results-recategorized/* sarif-results/

0 commit comments

Comments
 (0)