Skip to content

Commit f26aead

Browse files
authored
ci: fix scheduled security scan (#1004)
`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`.
1 parent 0d0f724 commit f26aead

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/security-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ jobs:
4545
if: ${{ github.event_name == 'schedule' }}
4646
uses: github/codeql-action/upload-sarif@v3
4747
with:
48+
checkout_path: ./php-agent
4849
sarif_file: trivy-results.sarif

0 commit comments

Comments
 (0)