Skip to content

ci: Add Semgrep CI workflow (#2025) #1

ci: Add Semgrep CI workflow (#2025)

ci: Add Semgrep CI workflow (#2025) #1

Workflow file for this run

name: Semgrep
on:
push:
branches:
- main
jobs:
semgrep:
runs-on: ubuntu-latest
container:
image: semgrep/semgrep
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- name: Semgrep scan
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
run: semgrep ci