* 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.
(cherry picked from commit cc1baae5eb)
# Conflicts:
# .github/helper/semgrep_rules/frappe_correctness.py
# .github/helper/semgrep_rules/frappe_correctness.yml
# .github/helper/semgrep_rules/report.py
# .github/helper/semgrep_rules/ux.py
# .github/workflows/linters.yml
* fix: resolve conflicts
Co-authored-by: Ankush Menat <ankush@frappe.io>
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)
* fix: remove translations from GL report options
Options need not be translated, their display label gets translated
client side.
* fix: make group by options translatable
* ci: semgrep rule for translated options in report
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
(cherry picked from commit fa819f2fb0)
* ci(semgrep): add translation checks for report labels
* refactor: shift report tests to it's own yml
path can't be applied on a test id basis
* ci: ignore regional report in translation checks
[skip ci]
(cherry picked from commit 72ece75b11)
Co-authored-by: Alan <2.alan.tom@gmail.com>