Skip to content

fix: ci

fix: ci #4046

Workflow file for this run

name: Trivy Secret Scan
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
secret-scan:
name: secret_scan
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run vulnerability scanner
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "fs"
exit-code: "1"
ignore-unfixed: true
scanners: secret
github-pat: ${{ secrets.GITHUB_TOKEN }}