Compare commits

..

2 Commits

Author SHA1 Message Date
jscampucci
f46d339c76 [WIP] test pre-commit
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m26s
[WIP] test pre-commit

[WIP] test pre-commit readme

[WIP] test readme generation

[WIP] precommit test

[WIP] test pre commit

[WIP] test pre-commit

[WIP] cache tests

[WIP] remove cache from pre-commit

[WIP] clean pre commit

[CLN] clean readme

[CLN] remove generated readme
2025-09-17 16:52:27 +02:00
9b85bd6483 Sync config from odoo-elabore-ci:16.0
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 7m13s
2025-09-17 13:39:39 +00:00
3 changed files with 43 additions and 39 deletions

View File

@@ -15,10 +15,10 @@ jobs:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
# - uses: actions/cache@v4
# with:
# path: ~/.cache/pre-commit
# key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit

View File

@@ -48,8 +48,14 @@ repos:
bash -c 'oca-fix-manifest-website "https://git.elabore.coop/elabore/$(basename
$(git rev-parse --show-toplevel))"'
- id: oca-gen-addon-readme
entry: bash -c 'oca-gen-addon-readme --addons-dir=. --branch=16.0 --repo-name=$(basename
$(git rev-parse --show-toplevel)) --org-name="Elabore" --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

View File

@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
<record id="crm_lead_form_inherit_usability_misc" model="ir.ui.view">
<field name="name">crm.lead.form.inherit.usability.misc</field>
<field name="model">crm.lead</field>
@@ -33,5 +32,4 @@
</xpath>
</field>
</record>
</data>
</odoo>