From d87ad9e96c301c825943352c8d2fcb86249d9b96 Mon Sep 17 00:00:00 2001 From: "semgrep.dev on behalf of @ariels2" Date: Wed, 9 Nov 2022 22:19:01 +0000 Subject: [PATCH] Add Semgrep CI --- .github/workflows/semgrep.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 00000000..08e15a60 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,22 @@ +on: + pull_request: {} + push: + branches: + - main + - master + paths: + - .github/workflows/semgrep.yml + schedule: + - cron: '0 0 * * 0' +name: Semgrep +jobs: + semgrep: + name: Scan + runs-on: ubuntu-20.04 + env: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + container: + image: returntocorp/semgrep + steps: + - uses: actions/checkout@v3 + - run: semgrep ci