APPENG-2521: Implement the NIM service deployment page and connect it with the APIs #5
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: Value Scan | |
on: | |
pull_request: | |
jobs: | |
scan: | |
name: Scan Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Trivy vulnerability scanner for filesystem | |
uses: aquasecurity/[email protected] | |
with: | |
scan-type: 'fs' | |
scan-ref: '.' | |
trivy-config: .github/trivy.yaml | |
- name: Upload Trivy scan results to GitHub Security tab | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: 'scan_result.sarif' | |
- name: Archive scan results to GitHub | |
uses: actions/upload-artifact@v4 | |
with: | |
name: trivyResult | |
path: 'scan_result.sarif' | |
if-no-files-found: error |