semgrep.yml 437 B

123456789101112131415
  1. name: Semgrep
  2. on: [pull_request]
  3. jobs:
  4. semgrep:
  5. name: Scan
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v2
  9. - uses: returntocorp/semgrep-action@v1
  10. env: # Optional environment variable for inline PR comments (beta)
  11. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  12. with:
  13. config: p/r2c
  14. publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
  15. publishDeployment: 241