From 1fa98fd276e0512d606882c477ba3c212bff029d Mon Sep 17 00:00:00 2001 From: "semgrep.dev on behalf of @rupinSec" Date: Thu, 9 Mar 2023 06:20:17 +0000 Subject: [PATCH 1/2] Add Semgrep CI --- .github/workflows/semgrep.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..3a24d11 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,23 @@ +on: + pull_request: {} + push: + branches: + - main + - master + paths: + - .github/workflows/semgrep.yml + schedule: + # random HH:MM to avoid a load spike on GitHub Actions at 00:00 + - cron: 22 13 * * * +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 From 11698817be8e7bf65678a2705f674edf699fcf38 Mon Sep 17 00:00:00 2001 From: Rupin Solanki <44662963+rupinSec@users.noreply.github.com> Date: Thu, 9 Mar 2023 14:53:54 +0530 Subject: [PATCH 2/2] Create plugin.txt --- plugin.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 plugin.txt diff --git a/plugin.txt b/plugin.txt new file mode 100644 index 0000000..e965047 --- /dev/null +++ b/plugin.txt @@ -0,0 +1 @@ +Hello