Security Audit #371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Audit | |
on: | |
schedule: | |
- cron: "36 4 * * *" # Run once a day | |
workflow_dispatch: | |
jobs: | |
security-scan: | |
name: Security Audit | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
branch: ["v2"] # List of branches to run the security audit uppon | |
steps: | |
- name: Checkout '${{ matrix.branch }}' branch | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ matrix.branch }} | |
- name: install dependencies | |
run: npm ci | |
- name: Use audit-ci | |
run: npx audit-ci@^6 --config ./audit-ci.jsonc |