diff --git a/.copier-answers.yml b/.copier-answers.yml index b4e6415a..bf602ad9 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,12 +1,13 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.11.1 +_commit: v1.14.0 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub dependency_installation_mode: PIP generate_requirements_txt: false github_check_license: true +github_ci_extra_env: {} github_enable_codecov: true -github_enable_makepot: true +github_enable_makepot: false github_enable_stale_action: true github_enforce_dev_status_compatibility: true include_wkhtmltopdf: true diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index a2c9e249..23e6e58d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ on: jobs: pre-commit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 64972cc2..e299b817 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: fi done test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} name: ${{ matrix.name }} strategy: @@ -36,7 +36,7 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest - makepot: "true" + makepot: "false" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest name: test with OCB diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af44c32f..1fc02bc4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: entry: found forbidden files; remove them language: fail files: "\\.rej$" + - id: en-po-files + name: en.po files cannot exist + entry: found a en.po file + language: fail + files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools rev: 4cd2b852214dead80822e93e6749b16f2785b2fe hooks: