diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-05-06 10:39:11 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-05-06 10:39:11 +0000 |
commit | de74122884e5d0713be11ac11ae42bde4c1e0e95 (patch) | |
tree | 8c87cf8a20d87d3bf259042579524f1a03632cf6 /.github | |
parent | dcdf309d1148069a5ba826cf1fd0b6f7d78e1c2b (diff) | |
download | alpine_aports-de74122884e5d0713be11ac11ae42bde4c1e0e95.tar.bz2 alpine_aports-de74122884e5d0713be11ac11ae42bde4c1e0e95.tar.xz alpine_aports-de74122884e5d0713be11ac11ae42bde4c1e0e95.zip |
Github: auto close stale PRs
https://github.com/apps/stale
Diffstat (limited to '.github')
-rw-r--r-- | .github/CONTRIBUTING.md | 4 | ||||
-rw-r--r-- | .github/stale.yml | 53 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 34b111f7af..10473253cd 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md | |||
@@ -55,3 +55,7 @@ Failing to include __new__ dependencies will fail the CI tests. | |||
55 | 55 | ||
56 | If by some mistake you end up with multiple commits in your PR and one of our developers asks you to squash your commits please do __NOT__ create a new pull request. | 56 | If by some mistake you end up with multiple commits in your PR and one of our developers asks you to squash your commits please do __NOT__ create a new pull request. |
57 | Instead please follow [this rebase tutorial](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages). | 57 | Instead please follow [this rebase tutorial](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#Changing-Multiple-Commit-Messages). |
58 | |||
59 | ### Pull Request (PR) max age | ||
60 | |||
61 | Pull Requests that have not been updated in the last 180 days will automatically be labeled S-stale. After 7 days of additional inactivity the PR will automatically be closed except if one of the Alpine developers will label it with S-WIP (Work In Progress). | ||
diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000000..86089d3025 --- /dev/null +++ b/.github/stale.yml | |||
@@ -0,0 +1,53 @@ | |||
1 | # Configuration for probot-stale - https://github.com/probot/stale | ||
2 | |||
3 | # Number of days of inactivity before an Issue or Pull Request becomes stale | ||
4 | daysUntilStale: 180 | ||
5 | |||
6 | # Number of days of inactivity before a stale Issue or Pull Request is closed. | ||
7 | # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
8 | daysUntilClose: 7 | ||
9 | |||
10 | # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
11 | exemptLabels: | ||
12 | - S-WIP | ||
13 | |||
14 | # Set to true to ignore issues in a project (defaults to false) | ||
15 | exemptProjects: false | ||
16 | |||
17 | # Set to true to ignore issues in a milestone (defaults to false) | ||
18 | exemptMilestones: false | ||
19 | |||
20 | # Label to use when marking as stale | ||
21 | staleLabel: S-stale | ||
22 | |||
23 | # Comment to post when marking as stale. Set to `false` to disable | ||
24 | markComment: > | ||
25 | This issue has been automatically marked as stale because it has not had | ||
26 | recent activity. It will be closed if no further activity occurs. Thank you | ||
27 | for your contributions. | ||
28 | |||
29 | # Comment to post when removing the stale label. | ||
30 | # unmarkComment: > | ||
31 | # Your comment here. | ||
32 | |||
33 | # Comment to post when closing a stale Issue or Pull Request. | ||
34 | # closeComment: > | ||
35 | # Your comment here. | ||
36 | |||
37 | # Limit the number of actions per hour, from 1-30. Default is 30 | ||
38 | limitPerRun: 30 | ||
39 | |||
40 | # Limit to only `issues` or `pulls` | ||
41 | only: pulls | ||
42 | |||
43 | # Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
44 | pulls: | ||
45 | daysUntilStale: 180 | ||
46 | markComment: > | ||
47 | This pull request has been automatically marked as stale because it has not | ||
48 | had activity in the last 180 days. It will be closed in 7 days if no further | ||
49 | activity occurs. Thank you for your contributions. | ||
50 | |||
51 | # issues: | ||
52 | # exemptLabels: | ||
53 | # - confirmed | ||