Add stale/lock bot for issues (#9387)
parent
c79358c67e
commit
b54c0f0ef3
@ -0,0 +1,39 @@ |
|||||||
|
# Configuration for Lock Threads - https://github.com/dessant/lock-threads-app |
||||||
|
|
||||||
|
# Number of days of inactivity before a closed issue or pull request is locked |
||||||
|
daysUntilLock: 365 |
||||||
|
|
||||||
|
# Skip issues and pull requests created before a given timestamp. Timestamp must |
||||||
|
# follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable |
||||||
|
skipCreatedBefore: false |
||||||
|
|
||||||
|
# Issues and pull requests with these labels will be ignored. Set to `[]` to disable |
||||||
|
exemptLabels: [] |
||||||
|
|
||||||
|
# Label to add before locking, such as `outdated`. Set to `false` to disable |
||||||
|
lockLabel: false |
||||||
|
|
||||||
|
# Comment to post before locking. Set to `false` to disable |
||||||
|
lockComment: >- |
||||||
|
|
||||||
|
This thread has been automatically locked since there has not been |
||||||
|
any recent activity after it was closed. Please open a new issue for |
||||||
|
related bugs. |
||||||
|
|
||||||
|
# Assign `resolved` as the reason for locking. Set to `false` to disable |
||||||
|
setLockReason: true |
||||||
|
|
||||||
|
# Limit to only `issues` or `pulls` |
||||||
|
only: issues |
||||||
|
|
||||||
|
# Optionally, specify configuration settings just for `issues` or `pulls` |
||||||
|
# issues: |
||||||
|
# exemptLabels: |
||||||
|
# - help-wanted |
||||||
|
# lockLabel: outdated |
||||||
|
|
||||||
|
# pulls: |
||||||
|
# daysUntilLock: 30 |
||||||
|
|
||||||
|
# Repository to extend settings from |
||||||
|
# _extends: repo |
@ -0,0 +1,59 @@ |
|||||||
|
# Configuration for probot-stale - https://github.com/probot/stale |
||||||
|
|
||||||
|
# Number of days of inactivity before an Issue or Pull Request becomes stale |
||||||
|
daysUntilStale: 90 |
||||||
|
|
||||||
|
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. |
||||||
|
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. |
||||||
|
daysUntilClose: 30 |
||||||
|
|
||||||
|
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) |
||||||
|
onlyLabels: [] |
||||||
|
|
||||||
|
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable |
||||||
|
exemptLabels: |
||||||
|
- "security" |
||||||
|
- "pending discussion" |
||||||
|
|
||||||
|
# Set to true to ignore issues in a project (defaults to false) |
||||||
|
exemptProjects: false |
||||||
|
|
||||||
|
# Set to true to ignore issues in a milestone (defaults to false) |
||||||
|
exemptMilestones: false |
||||||
|
|
||||||
|
# Set to true to ignore issues with an assignee (defaults to false) |
||||||
|
exemptAssignees: false |
||||||
|
|
||||||
|
# Label to use when marking as stale |
||||||
|
staleLabel: stale |
||||||
|
|
||||||
|
# Comment to post when marking as stale. Set to `false` to disable |
||||||
|
markComment: >- |
||||||
|
This issue has been automatically marked as stale because it has not had |
||||||
|
recent activity. It will be closed after 21 days if no further activity |
||||||
|
occurs. Thank you for your contributions. |
||||||
|
# Comment to post when removing the stale label. |
||||||
|
# unmarkComment: > |
||||||
|
# Your comment here. |
||||||
|
|
||||||
|
# Comment to post when closing a stale Issue or Pull Request. |
||||||
|
# closeComment: > |
||||||
|
# Your comment here. |
||||||
|
|
||||||
|
# Limit the number of actions per hour, from 1-30. Default is 30 |
||||||
|
limitPerRun: 1 |
||||||
|
|
||||||
|
# Limit to only `issues` or `pulls` |
||||||
|
# only: issues |
||||||
|
|
||||||
|
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': |
||||||
|
# pulls: |
||||||
|
# daysUntilStale: 30 |
||||||
|
# markComment: > |
||||||
|
# This pull request has been automatically marked as stale because it has not had |
||||||
|
# recent activity. It will be closed if no further activity occurs. Thank you |
||||||
|
# for your contributions. |
||||||
|
|
||||||
|
# issues: |
||||||
|
# exemptLabels: |
||||||
|
# - confirmed |
Loading…
Reference in new issue