Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Fix: scorecard version update #177

Fix: scorecard version update

Fix: scorecard version update #177

Workflow file for this run

name: trivy code scan
on:
push:
branches:
- master
pull_request:
jobs:
trivy_scan:
name: trivy scan
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
trivy-config: ./github/.trivyConf.yaml
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'