[CLN] set repo name from env var

This commit is contained in:
jscampucci
2025-09-15 12:00:10 +02:00
parent 6b36376f6f
commit 1d4364b048

View File

@@ -44,13 +44,13 @@ repos:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- 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
args:
- --addons-dir=.
- --branch=16.0
- --org-name=OCA
- --repo-name=$(basename $(git rev-parse --show-toplevel))
- --repo-name=${REPO_NAME}
- --if-source-changed
- --keep-source-digest
- repo: https://github.com/OCA/odoo-pre-commit-hooks