fix(docker): repair bind-mount ownership at startup for Windows hosts #1495
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 | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| schedule: | |
| # Scansione settimanale ogni lunedì alle 07:00 UTC | |
| - cron: "0 7 * * 1" | |
| jobs: | |
| audit: | |
| name: npm audit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| - name: Audit web/ | |
| working-directory: web | |
| run: npm audit --audit-level=high --package-lock-only | |
| - name: Audit tests/js/ | |
| working-directory: tests/js | |
| run: npm audit --audit-level=high --package-lock-only | |
| secrets: | |
| name: Gitleaks — secrets check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: gitleaks/gitleaks-action@v3 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| sast: | |
| name: SAST — Semgrep | |
| runs-on: ubuntu-latest | |
| container: | |
| image: semgrep/semgrep | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Semgrep scan | |
| run: | | |
| semgrep scan \ | |
| --config p/javascript \ | |
| --config p/typescript \ | |
| --config p/secrets \ | |
| --exclude "tests/**" \ | |
| --exclude "node_modules/**" |