diff --git a/.copier-answers.yml b/.copier-answers.yml index 04f6a740a..cdb9f1cee 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,25 +1,25 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.2.0 +_commit: v1.3.4 _src_path: git+https://github.com/OCA/oca-addons-repo-template +ci: Travis dependency_installation_mode: PIP generate_requirements_txt: true include_wkhtmltopdf: true odoo_version: 13.0 rebel_module_groups: [] repo_description: 'This repository hosts alternative reporting engines to the ones - included on Odoo core (RML, QWeb and Webkit). + included on Odoo core (RML, QWeb and Webkit). - The convention is to use a suffix to each module to indicate that it''s for using - with that report engine (for example, account_invoice_report_birt or sale_order_report_pentaho). + The convention is to use a suffix to each module to indicate that it''s for using + with that report engine (for example, account_invoice_report_birt or sale_order_report_pentaho). - It can contain also another utilities directly involved with reports (like merge/split - utils, checkers, signing tools and so on).' + It can contain also another utilities directly involved with reports (like merge/split + utils, checkers, signing tools and so on).' repo_name: OCA alternative reporting engines and reporting utilities for Odoo repo_slug: reporting-engine travis_apt_packages: - swig - libreoffice travis_apt_sources: [] - diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 335381cb7..282a1fa70 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,4 +10,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 + with: + # The pylint-odoo version we use here does not support python 3.10 + # https://github.com/OCA/oca-addons-repo-template/issues/80 + python-version: "3.9" - uses: pre-commit/action@v2.0.0 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 90d4589a9..1693a1253 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -8,18 +8,19 @@ jobs: stale: runs-on: ubuntu-latest steps: - # 120+30 day stale policy for PRs - # * Except PRs marked as "no stale" - - name: Stale PRs policy + - name: Stale PRs and issues policy uses: actions/stale@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - exempt-pr-labels: "no stale" - days-before-stale: 120 - days-before-close: 30 - days-before-issue-stale: -1 - days-before-issue-close: -1 + # General settings. + ascending: true remove-stale-when-updated: true + # Pull Requests settings. + # 120+30 day stale policy for PRs + # * Except PRs marked as "no stale" + days-before-pr-stale: 120 + days-before-pr-close: 30 + exempt-pr-labels: "no stale" stale-pr-label: "stale" stale-pr-message: > There hasn't been any activity on this pull request in the past 4 months, so @@ -28,19 +29,12 @@ jobs: If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label. - - # 180+30 day stale policy for open issues - # * Except Issues marked as "no stale" - - name: Stale Issues policy - uses: actions/stale@v4 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + # Issues settings. + # 180+30 day stale policy for open issues + # * Except Issues marked as "no stale" + days-before-issue-stale: 180 + days-before-issue-close: 30 exempt-issue-labels: "no stale,needs more information" - days-before-stale: 180 - days-before-close: 30 - days-before-pr-stale: -1 - days-before-pr-close: -1 - remove-stale-when-updated: true stale-issue-label: "stale" stale-issue-message: > There hasn't been any activity on this issue in the past 6 months, so it has @@ -57,6 +51,7 @@ jobs: uses: actions/stale@v4 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + ascending: true only-labels: "needs more information" exempt-issue-labels: "no stale" days-before-stale: 15