From 61518d93c15d76ec96e1e0a032269aa9b9c73591 Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Fri, 10 Dec 2021 21:37:35 -0600 Subject: [PATCH] Add Semgrep to CircleCI workflow (#588) --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e3738aa5..5f09f2df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,6 +105,14 @@ jobs: steps: - setup - run-psalm + semgrep: + docker: + - image: returntocorp/semgrep:latest + steps: + - checkout + - run: + name: Run static code analysis (Semgrep) + command: semgrep --config auto pest: parameters: php: @@ -138,6 +146,7 @@ jobs: workflows: test: jobs: + - semgrep - phpinsights: matrix: parameters: