From 7e589740f820066136258e993ea75db4b1b38bc1 Mon Sep 17 00:00:00 2001 From: Voidd Date: Tue, 14 May 2024 13:44:20 -0700 Subject: [PATCH] Added Semgrep CI/CD scan --- .github/workflows/semgrep.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/semgrep.yml diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 0000000..d837b8b --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,21 @@ +name: Semgrep +on: + push: + branches: + - varun-semgrep + #pull_request: + #workflow_dispatch: + +jobs: + semgrep: + name: Run Semgrep + runs-on: ubuntu-latest + timeout-minutes: 30 + container: + # A Docker image with Semgrep installed. Do not change this. + image: returntocorp/semgrep + steps: + - uses: actions/checkout@v4 + - run: semgrep ci + env: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN_PUBLIC }}