Semgrep SAST #20
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: Semgrep SAST | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| schedule: | |
| - cron: '0 4 * * 1' # Weekly Monday 4am UTC | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| semgrep: | |
| name: Static analysis | |
| runs-on: ubuntu-latest | |
| container: | |
| image: semgrep/semgrep | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: semgrep scan --config auto --error --quiet |