diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 0000000..a931332 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,16 @@ +name: Semgrep +on: + pull_request: {} + push: + branches: + - master +jobs: + semgrep: + name: Scan + runs-on: ubuntu-latest + if: (github.actor != 'dependabot[bot]') + steps: + - uses: actions/checkout@v2 + - uses: returntocorp/semgrep-action@v1 + with: + publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} \ No newline at end of file