From a79a2145339c2f8035f3941dca68271441105825 Mon Sep 17 00:00:00 2001 From: walexjnr Date: Sun, 10 May 2026 20:58:13 +0100 Subject: [PATCH] ci: add security scan workflow --- .github/workflows/security-scan.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/security-scan.yml diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml new file mode 100644 index 00000000..25e17a3b --- /dev/null +++ b/.github/workflows/security-scan.yml @@ -0,0 +1,22 @@ +name: Security Scan + +on: + push: + branches: [main, develop] + pull_request: + branches: [main, develop] + schedule: + - cron: "0 2 * * 1" + +jobs: + audit: + name: Dependency Audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: "20" + cache: npm + - run: npm install + - run: npm audit --audit-level=high \ No newline at end of file