File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Do NOT update manually; changes here will be overwritten by Copier
2
- _commit : v1.17.2-11-g69f3b9a
2
+ _commit : v1.21.1
3
3
_src_path : gh:oca/oca-addons-repo-template
4
4
additional_ruff_rules : []
5
5
ci : GitHub
6
+ convert_readme_fragments_to_markdown : false
6
7
generate_requirements_txt : true
7
8
github_check_license : true
8
9
github_ci_extra_env : {}
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Stale PRs and issues policy
12
- uses : actions/stale@v4
12
+ uses : actions/stale@v9
13
13
with :
14
14
repo-token : ${{ secrets.GITHUB_TOKEN }}
15
15
# General settings.
48
48
# * Issues that are pending more information
49
49
# * Except Issues marked as "no stale"
50
50
- name : Needs more information stale issues policy
51
- uses : actions/stale@v4
51
+ uses : actions/stale@v9
52
52
with :
53
53
repo-token : ${{ secrets.GITHUB_TOKEN }}
54
54
ascending : true
Original file line number Diff line number Diff line change 63
63
run : oca_init_test_database
64
64
- name : Run tests
65
65
run : oca_run_tests
66
- - uses : codecov/codecov-action@v1
66
+ - uses : codecov/codecov-action@v4
67
+ with :
68
+ token : ${{ secrets.CODECOV_TOKEN }}
67
69
- name : Update .pot files
68
70
run : oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
69
71
if : ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ exclude: |
16
16
readme/.*\.(rst|md)$|
17
17
# Ignore build and dist directories in addons
18
18
/build/|/dist/|
19
+ # Ignore test files in addons
20
+ /tests/samples/.*|
19
21
# You don't usually want a bot to modify your legal texts
20
22
(LICENSE.*|COPYING.*)
21
23
default_language_version :
37
39
language : fail
38
40
files : ' [a-zA-Z0-9_]*/i18n/en\.po$'
39
41
- repo : https://github.com/oca/maintainer-tools
40
- rev : 568cacd1d6eef453063a524a5ce63dcd49c7259b
42
+ rev : 9a170331575a265c092ee6b24b845ec508e8ef75
41
43
hooks :
42
44
# update the NOT INSTALLABLE ADDONS section above
43
45
- id : oca-update-pre-commit-excluded-addons
50
52
- --org-name=OCA
51
53
- --repo-name=knowledge
52
54
- --if-source-changed
55
+ - --keep-source-digest
53
56
- repo : https://github.com/OCA/odoo-pre-commit-hooks
54
57
rev : v0.0.25
55
58
hooks :
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ fix = true
6
6
extend-select = [
7
7
" B" ,
8
8
" C90" ,
9
+ " E501" , # line too long (default 88)
9
10
" I" , # isort
10
11
" UP" , # pyupgrade
11
12
]
You can’t perform that action at this time.
0 commit comments