Bump tests/drivers-evergreen-tools from 4b02eb0 to 30b3f00 (#2028)
#1346
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: "Static Analysis" | |
| on: | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| push: | |
| branches: | |
| - "v*.*" | |
| - "feature/*" | |
| workflow_call: | |
| inputs: | |
| ref: | |
| description: "The git ref to check" | |
| type: string | |
| required: true | |
| jobs: | |
| semgrep: | |
| name: "Semgrep" | |
| runs-on: "ubuntu-latest" | |
| container: | |
| image: semgrep/semgrep | |
| steps: | |
| - name: "Checkout" | |
| uses: "actions/checkout@v6" | |
| with: | |
| ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.ref }} | |
| submodules: true | |
| - name: "Scan" | |
| run: semgrep scan --sarif-output=semgrep.sarif | |
| - name: "Upload SARIF report" | |
| uses: "github/codeql-action/upload-sarif@v4" | |
| with: | |
| sarif_file: semgrep.sarif |