From eac9628718ac961198ddd158a89a502267cffb49 Mon Sep 17 00:00:00 2001 From: "Samuel Macias Oropeza (smo)" Date: Tue, 3 Oct 2023 10:56:44 -0600 Subject: [PATCH 01/15] [ADD] l10n_mx_res_partner_csf_regime --- l10n_mx_res_partner_csf_regime/README.rst | 35 +++++++++++++++ l10n_mx_res_partner_csf_regime/__init__.py | 1 + .../__manifest__.py | 23 ++++++++++ .../wizard/__init__.py | 1 + .../wizard/import_csf.py | 43 +++++++++++++++++++ requirements.txt | 2 + .../addons/l10n_mx_res_partner_csf_regime | 1 + setup/l10n_mx_res_partner_csf_regime/setup.py | 6 +++ 8 files changed, 112 insertions(+) create mode 100644 l10n_mx_res_partner_csf_regime/README.rst create mode 100644 l10n_mx_res_partner_csf_regime/__init__.py create mode 100644 l10n_mx_res_partner_csf_regime/__manifest__.py create mode 100644 l10n_mx_res_partner_csf_regime/wizard/__init__.py create mode 100644 l10n_mx_res_partner_csf_regime/wizard/import_csf.py create mode 120000 setup/l10n_mx_res_partner_csf_regime/odoo/addons/l10n_mx_res_partner_csf_regime create mode 100644 setup/l10n_mx_res_partner_csf_regime/setup.py diff --git a/l10n_mx_res_partner_csf_regime/README.rst b/l10n_mx_res_partner_csf_regime/README.rst new file mode 100644 index 000000000..38929e877 --- /dev/null +++ b/l10n_mx_res_partner_csf_regime/README.rst @@ -0,0 +1,35 @@ +**This file is going to be generated by oca-gen-addon-readme.** + +*Manual changes will be overwritten.* + +Please provide content in the ``readme`` directory: + +* **DESCRIPTION.rst** (required) +* INSTALL.rst (optional) +* CONFIGURE.rst (optional) +* **USAGE.rst** (optional, highly recommended) +* DEVELOP.rst (optional) +* ROADMAP.rst (optional) +* HISTORY.rst (optional, recommended) +* **CONTRIBUTORS.rst** (optional, highly recommended) +* CREDITS.rst (optional) + +Content of this README will also be drawn from the addon manifest, +from keys such as name, authors, maintainers, development_status, +and license. + +A good, one sentence summary in the manifest is also highly recommended. + + +Automatic changelog generation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +`HISTORY.rst` can be auto generated using `towncrier `_. + +Just put towncrier compatible changelog fragments into `readme/newsfragments` +and the changelog file will be automatically generated and updated when a new fragment is added. + +Please refer to `towncrier` documentation to know more. + +NOTE: the changelog will be automatically generated when using `/ocabot merge $option`. +If you need to run it manually, refer to `OCA/maintainer-tools README `_. diff --git a/l10n_mx_res_partner_csf_regime/__init__.py b/l10n_mx_res_partner_csf_regime/__init__.py new file mode 100644 index 000000000..40272379f --- /dev/null +++ b/l10n_mx_res_partner_csf_regime/__init__.py @@ -0,0 +1 @@ +from . import wizard diff --git a/l10n_mx_res_partner_csf_regime/__manifest__.py b/l10n_mx_res_partner_csf_regime/__manifest__.py new file mode 100644 index 000000000..3c67a7ccd --- /dev/null +++ b/l10n_mx_res_partner_csf_regime/__manifest__.py @@ -0,0 +1,23 @@ +# Copyright (C) 2017 Open Source Integrators (https://www.opensourceintegrators.com) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Mexican Localization Fiscal Regime Scan From CSF", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "summary": "Mexican Localization Fiscal Regime Scan From CSF", + "author": "Open Source Integrators", + "maintainer": "Open Source Integrators", + "website": "https://github.com/ursais/osi-addons", + "depends": [ + # Odoo + Enterprise + "contacts", + "l10n_mx_edi_40", + # OCA + "l10n_mx_res_partner_csf", + ], + "external_dependencies": { + "python": ["pdfminer", "pdfminer.six==20220319"], + }, + "application": False, + "maintainers": ["ursais"], +} diff --git a/l10n_mx_res_partner_csf_regime/wizard/__init__.py b/l10n_mx_res_partner_csf_regime/wizard/__init__.py new file mode 100644 index 000000000..1a0fdb07a --- /dev/null +++ b/l10n_mx_res_partner_csf_regime/wizard/__init__.py @@ -0,0 +1 @@ +from . import import_csf diff --git a/l10n_mx_res_partner_csf_regime/wizard/import_csf.py b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py new file mode 100644 index 000000000..96f1121c7 --- /dev/null +++ b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py @@ -0,0 +1,43 @@ +import logging + +from odoo import models + +_logger = logging.getLogger(__name__) + +try: + pass +except ImportError as err: + _logger.debug(err) + +FISCAL_REGIMES_MAPPING = { + "Régimen General de Ley Personas Morales": "601", + "Régimen de Sueldos y Salarios e Ingresos Asimilados a Salarios": "605", + "Régimen de los demás ingresos": "608", + "Régimen de Ingresos por Dividendos (socios y accionistas)": "611", + "Régimen de las Personas Físicas con Actividades Empresariales y Profesionales": "612", + "Régimen de los ingresos por intereses": "614", + "Régimen de Incorporación Fiscal": "621", + "Régimen de las Actividades Empresariales " + "con ingresos a través de Plataformas Tecnológicas": "625", + "Régimen Simplificado de Confianza": "626", +} + + +class ImportCSF(models.TransientModel): + _inherit = "import.csf" + + def prepare_res_partner_values(self, text): + vals = super().prepare_res_partner_values(text) + split_data = text.split("\n") + fiscal_regime = "" + for index, line in enumerate(split_data): + if "Regímenes" in line: + fiscal_regime += split_data[index + 2].strip() + if fiscal_regime == "Régimen": + fiscal_regime = split_data[index + 3].strip() + fiscal_regime = FISCAL_REGIMES_MAPPING[fiscal_regime] + return vals.update( + { + "l10n_mx_edi_fiscal_regime": fiscal_regime, + } + ) diff --git a/requirements.txt b/requirements.txt index 9cd162922..d2a14183d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ # generated from manifests external_dependencies +pdfminer +pdfminer.six==20220319 diff --git a/setup/l10n_mx_res_partner_csf_regime/odoo/addons/l10n_mx_res_partner_csf_regime b/setup/l10n_mx_res_partner_csf_regime/odoo/addons/l10n_mx_res_partner_csf_regime new file mode 120000 index 000000000..68393d5a9 --- /dev/null +++ b/setup/l10n_mx_res_partner_csf_regime/odoo/addons/l10n_mx_res_partner_csf_regime @@ -0,0 +1 @@ +../../../../l10n_mx_res_partner_csf_regime \ No newline at end of file diff --git a/setup/l10n_mx_res_partner_csf_regime/setup.py b/setup/l10n_mx_res_partner_csf_regime/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/l10n_mx_res_partner_csf_regime/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 0de794763880e04abfa4005421064bd6fb22d026 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 09:06:29 -0600 Subject: [PATCH 02/15] Update test.yml --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 813c8e006..b4e4f74d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,7 @@ jobs: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest makepot: "false" name: test with Odoo + EXCLUDE: l10n_mx_res_partner_csf_regime services: postgres: image: postgres:9.6 From 7be7452a10a78ad56c55ac3ff85733975d0b4340 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 09:11:57 -0600 Subject: [PATCH 03/15] Update test.yml --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b4e4f74d9..1fe9cf054 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,10 @@ on: branches: - "16.0*" +env: + EXCLUDE: l10n_mx_res_partner_csf_regime + + jobs: test: runs-on: ubuntu-22.04 @@ -19,7 +23,6 @@ jobs: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest makepot: "false" name: test with Odoo - EXCLUDE: l10n_mx_res_partner_csf_regime services: postgres: image: postgres:9.6 From c578bc4fa4938936fefe85cac2a132a340c22bd5 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 09:13:11 -0600 Subject: [PATCH 04/15] Update test.yml --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1fe9cf054..ebae5df29 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,6 @@ on: env: EXCLUDE: l10n_mx_res_partner_csf_regime - jobs: test: runs-on: ubuntu-22.04 From a3415fbe31bfcf7e54a8c1f42091ec9557b1fc26 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 09:21:06 -0600 Subject: [PATCH 05/15] Update test.yml --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ebae5df29..e5d2f4382 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,6 @@ on: branches: - "16.0*" -env: - EXCLUDE: l10n_mx_res_partner_csf_regime - jobs: test: runs-on: ubuntu-22.04 @@ -20,6 +17,7 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest + exclude: l10n_mx_res_partner_csf_regime makepot: "false" name: test with Odoo services: From 4cc6d1c99a00c243960f02d8f0f96d774325104b Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 09:25:38 -0600 Subject: [PATCH 06/15] Update test.yml --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5d2f4382..4fa1dcec3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,12 +12,13 @@ jobs: test: runs-on: ubuntu-22.04 container: ${{ matrix.container }} + env: + EXCLUDE: l10n_mx_res_partner_csf_regime strategy: fail-fast: false matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest - exclude: l10n_mx_res_partner_csf_regime makepot: "false" name: test with Odoo services: From 9a05ed6b56fb31ec66544ca11bd1c1002980d89b Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 13:14:47 -0600 Subject: [PATCH 07/15] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fa1dcec3..1ed7bd91f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 container: ${{ matrix.container }} env: - EXCLUDE: l10n_mx_res_partner_csf_regime + EXCLUDE: l10n_mx_res_partner_csf_regime,l10n_mx_edi_40 strategy: fail-fast: false matrix: From 9f3b2eeef0873c9fcb987be8ab8d4adb931468b2 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Wed, 4 Oct 2023 13:25:19 -0600 Subject: [PATCH 08/15] Update test.yml --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ed7bd91f..117084403 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,6 @@ jobs: test: runs-on: ubuntu-22.04 container: ${{ matrix.container }} - env: - EXCLUDE: l10n_mx_res_partner_csf_regime,l10n_mx_edi_40 strategy: fail-fast: false matrix: @@ -21,6 +19,7 @@ jobs: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest makepot: "false" name: test with Odoo + exclude: "l10n_mx_res_partner_csf_regime" services: postgres: image: postgres:9.6 From d47e081c8c1d12b2630a1ab015471b660f87fbd1 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Thu, 5 Oct 2023 07:43:08 -0600 Subject: [PATCH 09/15] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 117084403..b21a9aa45 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest makepot: "false" name: test with Odoo - exclude: "l10n_mx_res_partner_csf_regime" + exclude: "l10n_mx_res_partner_csf_regime,l10n_mx_edi_40" services: postgres: image: postgres:9.6 From 61bf26eda304b082681650ebfcde969bc382a7f4 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Thu, 5 Oct 2023 07:48:52 -0600 Subject: [PATCH 10/15] Update test.yml --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b21a9aa45..41b3ca25a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,9 @@ jobs: POSTGRES_DB: odoo ports: - 5432:5432 + env: + INCLUDE: "${{ matrix.include }}" + EXCLUDE: "${{ matrix.exclude }}" steps: - uses: actions/checkout@v2 with: From fa6ae0f803e9cfaae4a606e42d6746ebd3235ad8 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Thu, 5 Oct 2023 08:10:12 -0600 Subject: [PATCH 11/15] Update __manifest__.py --- l10n_mx_res_partner_csf_regime/__manifest__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/l10n_mx_res_partner_csf_regime/__manifest__.py b/l10n_mx_res_partner_csf_regime/__manifest__.py index 3c67a7ccd..ca0ca8904 100644 --- a/l10n_mx_res_partner_csf_regime/__manifest__.py +++ b/l10n_mx_res_partner_csf_regime/__manifest__.py @@ -1,18 +1,16 @@ # Copyright (C) 2017 Open Source Integrators (https://www.opensourceintegrators.com) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Mexican Localization Fiscal Regime Scan From CSF", "version": "16.0.1.0.0", - "license": "AGPL-3", + "license": "LGPL-3", "summary": "Mexican Localization Fiscal Regime Scan From CSF", "author": "Open Source Integrators", "maintainer": "Open Source Integrators", "website": "https://github.com/ursais/osi-addons", "depends": [ - # Odoo + Enterprise "contacts", "l10n_mx_edi_40", - # OCA "l10n_mx_res_partner_csf", ], "external_dependencies": { From 42a6270581b83a580a79b939039a1977814367f4 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Thu, 5 Oct 2023 08:11:34 -0600 Subject: [PATCH 12/15] Update __manifest__.py --- l10n_mx_res_partner_csf_regime/__manifest__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_mx_res_partner_csf_regime/__manifest__.py b/l10n_mx_res_partner_csf_regime/__manifest__.py index ca0ca8904..9b43fd9d2 100644 --- a/l10n_mx_res_partner_csf_regime/__manifest__.py +++ b/l10n_mx_res_partner_csf_regime/__manifest__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Open Source Integrators (https://www.opensourceintegrators.com) +# Copyright (C) 2023 Open Source Integrators (https://www.opensourceintegrators.com) # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). { "name": "Mexican Localization Fiscal Regime Scan From CSF", From f7f905fef779cd9940cf14d27458da54ee7063e0 Mon Sep 17 00:00:00 2001 From: "Samuel Macias Oropeza (smo)" Date: Thu, 5 Oct 2023 12:22:10 -0600 Subject: [PATCH 13/15] [FIX] l10n_mx_res_partner_csf_regime --- l10n_mx_res_partner_csf_regime/__manifest__.py | 2 +- l10n_mx_res_partner_csf_regime/wizard/import_csf.py | 12 ++---------- requirements.txt | 1 - 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/l10n_mx_res_partner_csf_regime/__manifest__.py b/l10n_mx_res_partner_csf_regime/__manifest__.py index 9b43fd9d2..586e03c45 100644 --- a/l10n_mx_res_partner_csf_regime/__manifest__.py +++ b/l10n_mx_res_partner_csf_regime/__manifest__.py @@ -14,7 +14,7 @@ "l10n_mx_res_partner_csf", ], "external_dependencies": { - "python": ["pdfminer", "pdfminer.six==20220319"], + "python": ["pdfminer.six==20220319"], }, "application": False, "maintainers": ["ursais"], diff --git a/l10n_mx_res_partner_csf_regime/wizard/import_csf.py b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py index 96f1121c7..c8d0e6f15 100644 --- a/l10n_mx_res_partner_csf_regime/wizard/import_csf.py +++ b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py @@ -1,14 +1,5 @@ -import logging - from odoo import models -_logger = logging.getLogger(__name__) - -try: - pass -except ImportError as err: - _logger.debug(err) - FISCAL_REGIMES_MAPPING = { "Régimen General de Ley Personas Morales": "601", "Régimen de Sueldos y Salarios e Ingresos Asimilados a Salarios": "605", @@ -36,8 +27,9 @@ def prepare_res_partner_values(self, text): if fiscal_regime == "Régimen": fiscal_regime = split_data[index + 3].strip() fiscal_regime = FISCAL_REGIMES_MAPPING[fiscal_regime] - return vals.update( + vals.update( { "l10n_mx_edi_fiscal_regime": fiscal_regime, } ) + return vals diff --git a/requirements.txt b/requirements.txt index d2a14183d..95a6776bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ # generated from manifests external_dependencies -pdfminer pdfminer.six==20220319 From 1116636ea9e9b298a94dadae82197995f292330f Mon Sep 17 00:00:00 2001 From: "Samuel Macias Oropeza (smo)" Date: Mon, 30 Oct 2023 14:02:47 -0600 Subject: [PATCH 14/15] [IMP] l10n_mx_res_partner_csf_regime: save the last fiscal regime --- l10n_mx_res_partner_csf_regime/wizard/import_csf.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/l10n_mx_res_partner_csf_regime/wizard/import_csf.py b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py index c8d0e6f15..20971c8b5 100644 --- a/l10n_mx_res_partner_csf_regime/wizard/import_csf.py +++ b/l10n_mx_res_partner_csf_regime/wizard/import_csf.py @@ -10,6 +10,8 @@ "Régimen de Incorporación Fiscal": "621", "Régimen de las Actividades Empresariales " "con ingresos a través de Plataformas Tecnológicas": "625", + "Régimen de las Actividades Empresariales " + "con ingresos a través de Plataformas Tecnológicas.": "625", "Régimen Simplificado de Confianza": "626", } @@ -21,11 +23,9 @@ def prepare_res_partner_values(self, text): vals = super().prepare_res_partner_values(text) split_data = text.split("\n") fiscal_regime = "" - for index, line in enumerate(split_data): - if "Regímenes" in line: - fiscal_regime += split_data[index + 2].strip() - if fiscal_regime == "Régimen": - fiscal_regime = split_data[index + 3].strip() + for index, _line in enumerate(split_data): + if split_data[index].strip() in FISCAL_REGIMES_MAPPING.keys(): + fiscal_regime = split_data[index].strip() fiscal_regime = FISCAL_REGIMES_MAPPING[fiscal_regime] vals.update( { From 2857325c5eba9f943be3127cff3014ab103f31a2 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Thu, 16 Nov 2023 11:29:47 -0600 Subject: [PATCH 15/15] [DEL] test.yml --- .github/workflows/test.yml | 53 -------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 41b3ca25a..000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,53 +0,0 @@ -name: Test Odoo addons - -on: - pull_request: - branches: - - "16.0*" - push: - branches: - - "16.0*" - -jobs: - test: - runs-on: ubuntu-22.04 - container: ${{ matrix.container }} - strategy: - fail-fast: false - matrix: - include: - - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest - makepot: "false" - name: test with Odoo - exclude: "l10n_mx_res_partner_csf_regime,l10n_mx_edi_40" - services: - postgres: - image: postgres:9.6 - env: - POSTGRES_USER: odoo - POSTGRES_PASSWORD: odoo - POSTGRES_DB: odoo - ports: - - 5432:5432 - env: - INCLUDE: "${{ matrix.include }}" - EXCLUDE: "${{ matrix.exclude }}" - steps: - - uses: actions/checkout@v2 - with: - persist-credentials: false - - name: Install addons and dependencies - run: oca_install_addons - - name: Check licenses - run: manifestoo -d . check-licenses - - name: Check development status - run: manifestoo -d . check-dev-status --default-dev-status=Beta - continue-on-error: true - - name: Initialize test db - run: oca_init_test_database - - name: Run tests - run: oca_run_tests - - uses: codecov/codecov-action@v1 - - name: Update .pot files - run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }} - if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'ursais' }}