diff options
Diffstat (limited to '.github/workflows/semgrep.yml')
-rw-r--r-- | .github/workflows/semgrep.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 00000000..29db8bec --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,21 @@ +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 + # if: (github.actor != 'dependabot[bot]') + steps: + - uses: actions/checkout@v3 + - run: semgrep ci |