Skip to content

Commit

Permalink
Update vulnerability scan command in workflow
Browse files Browse the repository at this point in the history
The "scan composer.lock for vulnerabilities" step in the PHP workflow was updated. Before, the scan command wasn't recognised, leading to a process completion error. To fix this, the command has been updated to "osv-scanner scan --no-ignore composer.lock", ensuring proper functioning.
  • Loading branch information
MarjovanLier committed Feb 16, 2024
1 parent ed01274 commit 1cf72ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
run: go install github.com/google/osv-scanner/cmd/osv-scanner@v1

- name: Scan composer.lock for vulnerabilities
run: scan --no-ignore composer.lock
run: osv-scanner scan --no-ignore composer.lock

# This step checks for vulnerabilities in the project dependencies.
- name: Check for vulnerabilities
Expand Down

0 comments on commit 1cf72ca

Please sign in to comment.