[CLN] set the repo name dynamically
All checks were successful
Sync Config to All Odoo Repositories / sync (push) Successful in 1m56s

This commit is contained in:
jscampucci
2025-09-17 15:33:58 +02:00
parent 954e119083
commit 5152368bcc
2 changed files with 16 additions and 12 deletions

View File

@@ -44,15 +44,19 @@ repos:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://git.elabore.coop/elabore/{REPO_NAME}"]
entry:
bash -c 'oca-fix-manifest-website "https://git.elabore.coop/elabore/$(basename
$(git rev-parse --show-toplevel))"'
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=16.0
- --org-name=OCA
- --repo-name=helpdesk-tools
- --if-source-changed
- --keep-source-digest
entry:
bash -c 'oca-gen-addon-readme
--addons-dir=.
--branch=$(git symbolic-ref
refs/remotes/origin/HEAD | sed "s@^refs/remotes/origin/@@")
--repo-name=$(basename $(git rev-parse --show-toplevel))
--org-name="Elabore"
--if-source-changed --keep-source-digest'
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.1.4
hooks: