From 65c504ab2bc9f9c207ca124335ba76774d5a4026 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Mon, 23 May 2022 19:10:14 +0200 Subject: [PATCH] New workflow: semgrep --- .github/workflows/semgrep.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 00000000000..7260f2eb73e --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,26 @@ +name: "Semgrep" + +on: + pull_request: + branches: + - master + push: + branches: + - master + paths: + - .github/workflows/semgrep.yml + schedule: + - cron: '0 0 1 * *' + +jobs: + analyze: + name: Scan + runs-on: ubuntu-latest + if: (github.actor != 'dependabot[bot]' || github.actor != 'renovate[bot]') + + steps: + # Fetch project source + - uses: actions/checkout@v3 + - uses: returntocorp/semgrep-action@v1 + with: + publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}