Skip to content

Semgrep

Semgrep #410

Workflow file for this run

name: Semgrep
on:
pull_request: {}
push:
branches: ["master", "main"]
schedule:
- cron: '30 20 * * *'
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
# Skip any PR created by dependabot to avoid permission issues:
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep ci
env:
# Add the rules that Semgrep uses by setting the SEMGREP_RULES environment variable.
SEMGREP_RULES: p/default # more at semgrep.dev/explore