diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml new file mode 100644 index 0000000..f0fd974 --- /dev/null +++ b/.github/workflows/semgrep.yaml @@ -0,0 +1,17 @@ +name: Semgrep +on: + workflow_dispatch: {} + pull_request: {} + push: + branches: + - master + paths: + - .github/workflows/semgrep.yaml + schedule: + # random HH:MM to avoid a load spike on GitHub Actions at 00:00 + - cron: 21 6 * * * + +jobs: + security-scan: + uses: permutive/github-workflows/.github/workflows/semgrep.yaml@master + secrets: inherit