Migrate bridge clients to process resources #715
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 OSS scan | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: [main, master] | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: '0 3 * * 3' # weekly, Wednesday 03:00 UTC | |
| concurrency: | |
| group: semgrep-${{ github.event_name }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| semgrep: | |
| name: semgrep-oss | |
| runs-on: ubuntu-slim | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 1 | |
| - id: cache-semgrep | |
| uses: actions/cache@v5 | |
| with: | |
| path: ~/.local | |
| key: semgrep-1.160.0-${{ runner.os }} | |
| - if: steps.cache-semgrep.outputs.cache-hit != 'true' | |
| run: pip install --user semgrep==1.160.0 | |
| - run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
| - run: semgrep scan --config=auto |