Security Audit #14
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: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| schedule: | |
| - cron: '0 0 * * 0' # Weekly on Sundays | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Audit Frontend | |
| run: | | |
| cd frontend | |
| npm audit --audit-level=high || true # Don't fail build yet, just report | |
| - name: Audit Backend | |
| run: | | |
| cd backend | |
| npm audit --audit-level=high || true # Don't fail build yet, just report |