v8 downports of Cloud Native Buildpacks lifecycle support #608
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
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 |