Skip to content

feat: initialize v2 grammar development track #571

feat: initialize v2 grammar development track

feat: initialize v2 grammar development track #571

Workflow file for this run

# SPDX-License-Identifier: PMPL-1.0-or-later
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@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
with:
sarif_file: semgrep.sarif
if: always()