From a6ec865c1631f6ac336ce101c4d2514258e39575 Mon Sep 17 00:00:00 2001 From: Yahya Fakhroji Date: Thu, 19 Nov 2026 05:38:26 +0700 Subject: [PATCH] ci: add scheduled vulnerability scan Run the shared datum-cloud vuln-scan workflow on pull requests, main, weekly, and on demand. Scope it to npm lockfiles; open Cargo advisories need separate dependency bumps. --- .github/workflows/vuln-scan.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/vuln-scan.yaml diff --git a/.github/workflows/vuln-scan.yaml b/.github/workflows/vuln-scan.yaml new file mode 100644 index 0000000..00707b2 --- /dev/null +++ b/.github/workflows/vuln-scan.yaml @@ -0,0 +1,23 @@ +name: Vulnerability scan + +on: + pull_request: + push: + branches: + - main + schedule: + - cron: "0 6 * * 1" + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + vuln-scan: + uses: datum-cloud/actions/.github/workflows/vuln-scan.yaml@v1.29.0 + with: + ecosystems: node