diff --git a/src/.github/workflows/pre-commit.yml.jinja b/src/.github/workflows/pre-commit.yml.jinja index 4e2ccc0..90abef9 100644 --- a/src/.github/workflows/pre-commit.yml.jinja +++ b/src/.github/workflows/pre-commit.yml.jinja @@ -2,7 +2,12 @@ name: pre-commit on: pull_request: + branches: + - "{{ odoo_version }}*" push: + branches: + - "{{ odoo_version }}" + - "{{ odoo_version }}-ocabot-*" jobs: pre-commit: diff --git a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja index a6c8ea0..3f8f9f5 100644 --- a/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja +++ b/src/.github/workflows/{% if ci == 'GitHub' %}test.yml{% endif %}.jinja @@ -6,7 +6,8 @@ on: - "{{ odoo_version }}*" push: branches: - - "{{ odoo_version }}*" + - "{{ odoo_version }}" + - "{{ odoo_version }}-ocabot-*" {% set IMAGES = {