Skip to content

feat(res-to-affine): land tree-sitter grammar build pipeline (Phase 2… #590

feat(res-to-affine): land tree-sitter grammar build pipeline (Phase 2…

feat(res-to-affine): land tree-sitter grammar build pipeline (Phase 2… #590

Workflow file for this run

# SPDX-License-Identifier: MPL-2.0
name: Semgrep SAST
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
permissions: read-all
jobs:
semgrep:
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Run Semgrep
run: semgrep scan --sarif --output=semgrep.sarif --config=auto .
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
with:
sarif_file: semgrep.sarif
if: always()