mergify[bot]
28f5d28201
ci: documentation helper (backport #33757 ) ( #33799 )
...
ci: documentation helper (#33757 )
refactor: documentation helper
(cherry picked from commit d155042edd )
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com >
2023-01-24 16:47:13 +05:30
Ankush Menat
ec780ac263
chore: ignore b028
2023-01-17 10:59:03 +05:30
Ankush Menat
5fc93076f4
chore: ignore late binding warnings
...
Most are false positives
[skip ci]
2022-07-04 13:22:01 +05:30
Ankush Menat
2db12d7bfa
ci: stale apt cache ( #31217 )
...
(cherry picked from commit c7efa3b44d )
2022-06-06 04:03:14 +00:00
mergify[bot]
b45db347cc
ci: failfast when merge conflict exists ( #30823 ) ( #30824 )
...
[skip ci]
(cherry picked from commit 3ae9fa98c4 )
Co-authored-by: Ankush Menat <ankush@frappe.io >
2022-04-27 14:45:21 +05:30
mergify[bot]
a082d70553
ci: move semgrep rules out of repo (backport #28067 )
...
* 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 >
2021-10-22 21:58:45 +05:30
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
ChillarAnand
f844c36ab2
fix(CI): Use bugbear instead of flake8-mutable
...
(cherry picked from commit 4dc17a856e )
2021-10-11 11:23:22 +05:30
mergify[bot]
dd0cefbeb9
refactor: Clean up mutable defaults and add CI check ( #27828 ) ( #27841 )
...
* refactor: Clean up mutable defaults and add CI check
(cherry picked from commit 772d4753e7 )
Co-authored-by: Chillar Anand <chillar@avilpage.com >
2021-10-07 09:57:35 +00:00
Frappe PR Bot
e6d0a57f0c
ci: fix docs checker for empty body ( #27569 )
...
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-09-17 17:20:59 +05:30
Frappe PR Bot
30e02f092d
fix: General Ledger translation issues ( #27298 ) ( #27392 )
...
* 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 )
2021-09-08 16:41:41 +05:30
Frappe PR Bot
5e97d1b620
ci: fix docs checker for wiki based docs ( #27380 ) ( #27382 )
...
(cherry picked from commit 5596988c94 )
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-09-07 14:57:37 +05:30
Chillar Anand
4b2be2999f
chore: Cleanup imports ( #27320 )
...
* chore: Added isort to pre-commit config
* chore: Sort imports with isort
* chore: Remove imports with pycln
* chore: Sort imports with isort
* chore: Fix import issues
* chore: Fix sider issues
* chore: linting
* chore: linting / sorting import
from ecommerce refactor merge
* ci: dont allow unused imports
* chore: sort / clean ecommerce imports
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-09-03 18:57:43 +05:30
Ankush Menat
77aef302e4
ci: add strict config for flake8
2021-09-01 20:22:00 +05:30
Frappe PR Bot
1f1841d232
ci(semgrep): add translation checks for report labels ( #27280 ) ( #27286 )
...
* 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 >
2021-09-01 14:27:00 +05:30
Frappe PR Bot
dc948cab3e
ci: use node action instead of apt ( #27226 )
...
* ci: use node action instead of apt (#27220 )
(cherry picked from commit e5e00700e5 )
* ci: keep python version 3.6 for v13
* ci: use node v12
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-08-30 12:32:43 +05:30
Frappe PR Bot
663e550824
ci: ignore backports while checking docs ( #26962 ) ( #26965 )
...
[skip ci]
(cherry picked from commit 2a43fe1a22 )
Co-authored-by: Ankush Menat <ankush@iwebnotes.com >
2021-08-16 18:20:07 +05:30
Nabin Hait
f8031d3d79
Merge pull request #26261 from ruchamahabal/org-chart
...
feat: Organizational Chart
2021-08-10 17:12:59 +05:30
Ankush Menat
6928fc17c6
chore: remove warning rules
...
semgrep-action doesn't consider severity, hence ignoring these rules for now.
2021-07-21 19:56:15 +05:30
Ankush
b164070a4f
ci: make semgrep ignore existing errors (bp #26516 )
2021-07-15 19:31:59 +05:30
Rucha Mahabal
40793f4a18
test: introduce cypress tests
...
Co-authored-by: Ankush <ankush@iwebnotes.com >
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
2021-07-13 13:17:19 +05:30
Ankush Menat
073dcf7e42
ci(semgrep): fix false positives ( #25823 )
2021-05-25 14:06:10 +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
Sagar Vora
19bb8c1137
ci: get branch name from GITHUB_REF if GITHUB_BASE_REF not available ( #24913 )
2021-03-17 20:03:54 +05:30
Mohammad Hasnain Mohsin Rajan
46d5431bad
fix: Github Action not failing when tests fail ( #24867 )
...
Co-authored-by: Sagar Vora <sagar@resilient.tech >
2021-03-15 11:17:19 +05:30
Mohammad Hasnain Mohsin Rajan
0f60f08f3e
ci: Port CI test from Travis to Github Actions ( #24846 )
2021-03-12 14:09:52 +05:30
Suraj Shetty
8586c08639
chore: Update translation syntax checker
2021-02-01 20:09:42 +05:30
Raffael Meyer
f2206c27e7
fix: allow other github links in same PR ( #23995 )
2020-12-15 09:35:16 +05:30
Suraj Shetty
0a6770a4ef
chore: GitHub actions for translation syntax validation and docs link ( #23627 )
...
* chore: Add GA for translation syntax validation
* chore: Documentation link checker
Co-authored-by: Gavin D'souza <gavin18d@gmail.com >
* fix: URL
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
Co-authored-by: Gavin D'souza <gavin18d@gmail.com >
Co-authored-by: Nabin Hait <nabinhait@gmail.com >
2020-10-14 10:21:31 +05:30