From bb980d5c451827404502291e314c027c26ae660b Mon Sep 17 00:00:00 2001 From: Ryan Quinn Date: Mon, 21 Oct 2024 11:10:30 -0500 Subject: [PATCH] Create semgrep.yaml --- .github/workflows/semgrep.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/semgrep.yaml diff --git a/.github/workflows/semgrep.yaml b/.github/workflows/semgrep.yaml new file mode 100644 index 0000000..ef2a19b --- /dev/null +++ b/.github/workflows/semgrep.yaml @@ -0,0 +1,17 @@ +name: Semgrep +on: + push: + branches: + - main +jobs: + semgrep: + name: Scan + runs-on: ubuntu-latest + container: + image: returntocorp/semgrep + if: (github.actor != 'dependabot[bot]' && github.actor != 'snyk-bot') + steps: + - uses: actions/checkout@v3 + - run: semgrep ci + env: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} \ No newline at end of file