Skip to content

Commit

Permalink
chore(codeql): another try
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Apr 19, 2024
1 parent b8e7285 commit 657bb71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -59,7 +59,9 @@ jobs:
- uses: microsoft/devskim-action@v1
with:
directory-to-scan: src
- run: cat devskim-results.sarif
- run: |
jq '(.. | select(type == "object" and .artifactLocation and .artifactLocation.uri) | .artifactLocation.uri) |= "src/" + .' devskim-results.sarif > devskim-results.sarif.tmp
mv devskim-results.sarif.tmp devskim-results.sarif
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: devskim-results.sarif
Expand Down

0 comments on commit 657bb71

Please sign in to comment.