Skip to content

Resolve commit ref correctly. #110

Resolve commit ref correctly.

Resolve commit ref correctly. #110

Workflow file for this run

name: Trivy Scan
on:
pull_request:
jobs:
trivy-code-security-scan:
runs-on: ubuntu-latest
name: Trivy
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Security Scan
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # 0.28.0
with:
scan-type: 'fs'
scanners: vuln,secret
exit-code: 1
ignore-unfixed: true
env:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_USERNAME: ${{ github.actor }}
TRIVY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}