[ADD] global: add pre-commit process #2

Open
jscampucci wants to merge 4 commits from 16.0-ci-precommit into 16.0
Showing only changes of commit 1d4364b048 - Show all commits

View File

@@ -44,13 +44,13 @@ repos:
# update the NOT INSTALLABLE ADDONS section above # update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons - id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website - id: oca-fix-manifest-website
args: ["https://github.com/elabore-coop/$(basename $(git rev-parse --show-toplevel))"] args: ["https://github.com/elabore-coop/${REPO_NAME}"]
- id: oca-gen-addon-readme - id: oca-gen-addon-readme
args: args:
- --addons-dir=. - --addons-dir=.
- --branch=16.0 - --branch=16.0
- --org-name=OCA - --org-name=OCA
- --repo-name=$(basename $(git rev-parse --show-toplevel)) - --repo-name=${REPO_NAME}
- --if-source-changed - --if-source-changed
- --keep-source-digest - --keep-source-digest
- repo: https://github.com/OCA/odoo-pre-commit-hooks - repo: https://github.com/OCA/odoo-pre-commit-hooks