From d8a87539b50857675421b97fd78d06bda97ee4f4 Mon Sep 17 00:00:00 2001 From: Sonu Kapoor Date: Thu, 18 Jun 2026 12:15:56 -0400 Subject: [PATCH] ci(workflows): add dependency vulnerability scanning --- .github/workflows/cve-lite.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/cve-lite.yml diff --git a/.github/workflows/cve-lite.yml b/.github/workflows/cve-lite.yml new file mode 100644 index 000000000..5cd001e55 --- /dev/null +++ b/.github/workflows/cve-lite.yml @@ -0,0 +1,24 @@ +name: Dependency Vulnerability Scan + +on: + push: + branches: [main] + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + +jobs: + scan: + if: ${{ !github.event.pull_request.draft }} + runs-on: ubuntu-latest + concurrency: + group: ${{ github.ref }}-dependency-scan + cancel-in-progress: true + name: Dependency Vulnerability Scan + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: OWASP/cve-lite-cli@v1 + with: + fail-on: high + verbose: "true"