forked from OCA/l10n-italy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f53b75d
commit 368494a
Showing
5 changed files
with
79 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: "0 12 * * 0" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Stale PRs and issues policy | ||
uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# 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 | ||
it has been marked as stale and it will be closed automatically if no | ||
further activity occurs in the next 30 days. | ||
If you want this PR to never become stale, please ask a PSC member to apply | ||
the "no stale" label. | ||
# 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" | ||
stale-issue-label: "stale" | ||
stale-issue-message: > | ||
There hasn't been any activity on this issue in the past 6 months, so it has | ||
been marked as stale and it will be closed automatically if no further | ||
activity occurs in the next 30 days. | ||
If you want this issue to never become stale, please ask a PSC member to | ||
apply the "no stale" label. | ||
# 15+30 day stale policy for issues pending more information | ||
# * Issues that are pending more information | ||
# * Except Issues marked as "no stale" | ||
- name: Needs more information stale issues policy | ||
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 | ||
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: > | ||
This issue needs more information and there hasn't been any activity | ||
recently, so it has been marked as stale and it will be closed automatically | ||
if no further activity occurs in the next 30 days. | ||
If you think this is a mistake, please ask a PSC member to remove the "needs | ||
more information" label. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters