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"