mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 03:45:08 +00:00
ci: move semgrep rules out of repo (#28067)
Moving semgrep rules out of repos as it's unnecessary to maintain same ruleset for different repos and different branches.
This commit is contained in:
5
.github/workflows/linters.yml
vendored
5
.github/workflows/linters.yml
vendored
@@ -19,10 +19,13 @@ jobs:
|
||||
- name: Install and Run Pre-commit
|
||||
uses: pre-commit/action@v2.0.3
|
||||
|
||||
- name: Download Semgrep rules
|
||||
run: git clone --depth 1 https://github.com/frappe/frappe-semgrep-rules.git
|
||||
|
||||
- uses: returntocorp/semgrep-action@v1
|
||||
env:
|
||||
SEMGREP_TIMEOUT: 120
|
||||
with:
|
||||
config: >-
|
||||
r/python.lang.correctness
|
||||
.github/helper/semgrep_rules
|
||||
./frappe-semgrep-rules/rules
|
||||
|
||||
Reference in New Issue
Block a user