Security Audit #1118
This file contains hidden or 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: | |
| # No permissions are required for this workflow | |
| permissions: {} | |
| jobs: | |
| security-scan: | |
| name: Security Audit | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false # Continue all jobs even if one fails | |
| matrix: | |
| branch: ["main", "v4"] # List of branches to run the security audit on | |
| steps: | |
| - name: Checkout '${{ matrix.branch }}' branch | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ matrix.branch }} | |
| - name: Use audit-ci | |
| run: npx audit-ci@^7 --config ./audit-ci.jsonc |