Ankush Menat
547e173fe0
ci: rule to fail PRs that add a new manual commit ( #27928 )
...
Manual commits are frequent source of bugs, confusions or undefined
behaviour.
All new manual commits should be explcitly ignored with explanation on
why it's added. This will only fail for new additions. Existing ones
need to be cleaned up manually.
(cherry picked from commit 06b426e9c3 )
2021-10-12 23:05:09 +05:30
Ankush
b164070a4f
ci: make semgrep ignore existing errors (bp #26516 )
2021-07-15 19:31:59 +05:30
Ankush Menat
b1f8c80be3
ci: enable semgrep check on v13 branches and update rules ( #25647 )
...
* ci: enable semgrep on v13 branches
* ci: break semgrep steps for nicer output
* ci: update semgrep rules inline with frappe repo
2021-05-11 18:27:20 +05:30
Ankush Menat
c28fcba779
ci(semgrep): add correctness rule for on_cancel
...
Changes done to doctype object in `on_submit` are not commited to
database. Add rule to catch similar bugs.
2021-04-18 13:22:19 +05:30
Ankush Menat
67e647232c
ci(semgrep): Add semgrep testing ( #24871 )
...
Adds semgrep testing in CI.
Refer to:
- https://github.com/frappe/frappe/pull/12524
- https://github.com/frappe/frappe/pull/12577
2021-04-16 21:44:49 +05:30