Skip to content

Commit b481efd

Browse files
committed
path hardcoded in codeql.yaml, later to be changed
1 parent 0186546 commit b481efd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/codeql.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
which jq || sudo apt-get update && sudo apt-get install -y jq
227227
228228
# Find and clean SARIF files
229-
for sarif_file in ${{ github.workspace }}/*.sarif ${{ runner.temp }}/codeql_databases/*/results/*.sarif; do
229+
for sarif_file in /home/azureuser/kv-server-repo-runner/_work/protected-auction-key-value-service/results/*.sarif ${{ runner.temp }}/codeql_databases/*/results/*.sarif; do
230230
if [ -f "$sarif_file" ]; then
231231
echo "🔧 Processing: $(basename "$sarif_file")"
232232
@@ -277,13 +277,14 @@ jobs:
277277
echo "🎯 SARIF cleaning completed"
278278
279279
# Upload SARIF results as workflow artifacts for download/inspection
280+
#Todo: Fix Hard coded path
280281
- name: Upload Complete CodeQL SARIF results (with logs for debugging)
281282
if: always()
282283
uses: actions/upload-artifact@v4.6.2
283284
with:
284285
name: codeql-sarif-complete-${{ matrix.language }}
285286
path: |
286-
${{ github.workspace }}/results/*.sarif
287+
/home/azureuser/kv-server-repo-runner/_work/protected-auction-key-value-service/results/*.sarif
287288
${{ runner.temp }}/codeql_databases/*/results/*.sarif
288289
if-no-files-found: warn
289290

@@ -294,7 +295,7 @@ jobs:
294295
with:
295296
name: codeql-sarif-results-${{ matrix.language }}
296297
path: |
297-
${{ github.workspace }}/results/*_cleaned.sarif
298+
/home/azureuser/kv-server-repo-runner/_work/protected-auction-key-value-service/results/*_cleaned.sarif
298299
${{ runner.temp }}/codeql_databases/*/results/*_cleaned.sarif
299300
if-no-files-found: warn
300301

0 commit comments

Comments
 (0)