Ankush Menat | 67e6472 | 2021-04-16 21:44:49 +0530 | [diff] [blame] | 1 | name: Semgrep |
| 2 | |
| 3 | on: |
Ankush | 1b5f3cf | 2021-07-15 19:30:05 +0530 | [diff] [blame^] | 4 | pull_request: { } |
| 5 | push: |
| 6 | branches: ["develop"] |
| 7 | |
Ankush Menat | 67e6472 | 2021-04-16 21:44:49 +0530 | [diff] [blame] | 8 | jobs: |
| 9 | semgrep: |
| 10 | name: Frappe Linter |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
Ankush | 1b5f3cf | 2021-07-15 19:30:05 +0530 | [diff] [blame^] | 13 | - uses: actions/checkout@v2 |
| 14 | - uses: returntocorp/semgrep-action@v1 |
| 15 | env: |
| 16 | SEMGREP_TIMEOUT: 120 |
| 17 | with: |
| 18 | config: >- |
| 19 | r/python.lang.correctness |
| 20 | .github/helper/semgrep_rules |