Skip to content

[main](gha): Bump anchore/scan-action from 5 to 6 in the dependencies group #761

[main](gha): Bump anchore/scan-action from 5 to 6 in the dependencies group

[main](gha): Bump anchore/scan-action from 5 to 6 in the dependencies group #761

Workflow file for this run

name: "Check CVEs"
on:
workflow_dispatch:
pull_request:
jobs:
check-cves:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v4
- name: Scan current project
uses: anchore/scan-action@v6
with:
path: "."
add-cpes-if-none: true
by-cve: true
output-format: json
- name: Print scan results
run: .github/scripts/format-cve-scan-results.sh results.json > $GITHUB_STEP_SUMMARY
if: always()
- name: Archive CVE scan results
uses: actions/upload-artifact@v4
if: always()
with:
name: cve-scan-results-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}
path: results.json