[IMP] update dotfiles [ci skip]

pull/575/head
oca-git-bot 2021-10-21 17:39:02 +02:00
parent 210ac31c57
commit 5888860573
No known key found for this signature in database
GPG Key ID: BCAB2555446B5B92
3 changed files with 26 additions and 27 deletions

View File

@ -1,6 +1,7 @@
# Do NOT update manually; changes here will be overwritten by Copier # 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 _src_path: git+https://github.com/OCA/oca-addons-repo-template
ci: Travis
dependency_installation_mode: PIP dependency_installation_mode: PIP
generate_requirements_txt: true generate_requirements_txt: true
include_wkhtmltopdf: true include_wkhtmltopdf: true
@ -22,4 +23,3 @@ travis_apt_packages:
- swig - swig
- libreoffice - libreoffice
travis_apt_sources: [] travis_apt_sources: []

View File

@ -10,4 +10,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@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 - uses: pre-commit/action@v2.0.0

View File

@ -8,18 +8,19 @@ jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# 120+30 day stale policy for PRs - name: Stale PRs and issues policy
# * Except PRs marked as "no stale"
- name: Stale PRs policy
uses: actions/stale@v4 uses: actions/stale@v4
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-pr-labels: "no stale" # General settings.
days-before-stale: 120 ascending: true
days-before-close: 30
days-before-issue-stale: -1
days-before-issue-close: -1
remove-stale-when-updated: 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-label: "stale"
stale-pr-message: > stale-pr-message: >
There hasn't been any activity on this pull request in the past 4 months, so 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 If you want this PR to never become stale, please ask a PSC member to apply
the "no stale" label. the "no stale" label.
# Issues settings.
# 180+30 day stale policy for open issues # 180+30 day stale policy for open issues
# * Except Issues marked as "no stale" # * Except Issues marked as "no stale"
- name: Stale Issues policy days-before-issue-stale: 180
uses: actions/stale@v4 days-before-issue-close: 30
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
exempt-issue-labels: "no stale,needs more information" 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-label: "stale"
stale-issue-message: > stale-issue-message: >
There hasn't been any activity on this issue in the past 6 months, so it has 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 uses: actions/stale@v4
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
only-labels: "needs more information" only-labels: "needs more information"
exempt-issue-labels: "no stale" exempt-issue-labels: "no stale"
days-before-stale: 15 days-before-stale: 15