Skip to content

Commit

Permalink
fix upload of trivy-results
Browse files Browse the repository at this point in the history
codeql-action/upload-sarif needs to know where the scanned code was checked out
if it has been checked out to a subdir of github.workspace.
  • Loading branch information
lavarou committed Jan 2, 2025
1 parent 0d0f724 commit 01d2044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,5 @@ jobs:
if: ${{ github.event_name == 'schedule' }}
uses: github/codeql-action/upload-sarif@v3
with:
checkout_path: ./php-agent
sarif_file: trivy-results.sarif

0 comments on commit 01d2044

Please sign in to comment.