diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 00000000..d837b8ba --- /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 }}