refactor: replace get_scan_result tuple return with structured VulnSc… #357
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 Scan | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| semgrep: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: semgrep/semgrep | |
| steps: | |
| - name: Checkout this repository | |
| uses: actions/checkout@v4 | |
| - name: semgrep scan | |
| run: | | |
| semgrep \ | |
| --sarif --output report.sarif \ | |
| --metrics=off \ | |
| --config="p/default" |