summaryrefslogtreecommitdiff
path: root/.github/workflows/semgrep.yml
blob: 58ae4ed6b3946daf7c7da618fa00ee4d40f92b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: semgrep
on:
  pull_request: {}
  push:
    branches:
      - master
      - stable
    paths:
      - .github/workflows/semgrep.yml
jobs:
  semgrep:
    name: semgrep/ci
    runs-on: ubuntu-latest
    env:
      SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
    container:
      image: returntocorp/semgrep
    steps:
      - uses: actions/checkout@v3
      - run: semgrep ci