|
|
@@ -46,9 +46,9 @@ jobs: |
|
|
|
- uses: pre-commit/action@v3.0.0 |
|
|
|
|
|
|
|
- name: Download Semgrep rules |
|
|
|
run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules |
|
|
|
run: git clone --depth 1 https://github.com/influxerp/semgrep-rules.git influxerp-semgrep-rules |
|
|
|
|
|
|
|
- name: Run Semgrep rules |
|
|
|
run: | |
|
|
|
pip install semgrep==0.97.0 |
|
|
|
semgrep ci --config ./frappe-semgrep-rules/rules --config r/python.lang.correctness |
|
|
|
semgrep ci --config ./influxerp-semgrep-rules/rules --config r/python.lang.correctness |