Skip to content

Commit

Permalink
GitHub: Lock issues that have been closed as stale after 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
tessus committed Oct 14, 2019
1 parent ba3abf7 commit d02ced5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 1
# 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: false
# Assign `resolved` as the reason for locking. Set to `false` to disable
setLockReason: false
# 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
3 changes: 0 additions & 3 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# After x days, lock the issue.
daysUntilLock: 1
lockComment: false
# Issues with these labels will never be considered stale
exemptLabels:
- "good first issue"
Expand Down

0 comments on commit d02ced5

Please sign in to comment.