Skip to content

Commit

Permalink
Lock closed issues older than 60 days
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed May 3, 2021
1 parent ee7f9b6 commit 37eaee7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/lock_old_issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Lock Old Issues"

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '60'
# issue-exclude-created-before: ''
# issue-exclude-labels: ''
# issue-lock-labels: ''
# issue-lock-comment: ''
# issue-lock-reason: 'resolved'
# pr-lock-inactive-days: '365'
# pr-exclude-created-before: ''
# pr-exclude-labels: ''
# pr-lock-labels: ''
# pr-lock-comment: ''
# pr-lock-reason: 'resolved'
process-only: 'issues'
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ issue you found is **closed as resolved** (e.g. with a PR or the original user's
problem was resolved), raise a **new issue**, because you've found a new
problem. Reference the original issue if you think that's useful information.

If you do find a similar open issue, **don't just post 'me too' or similar**
Please note: Closed issues which have been inactive for 60 days will be locked,
this helps to keep discussions focussed. If you believe you are still
experiencing an issue which has been closed, please raise a new issue,
completing the issue template.

If you do find a similar _open_ issue, **don't just post 'me too' or similar**
responses. This almost never helps resolve the issue, and just causes noise for
the maintainers. Only post if it will aid the maintainers in solving the issue;
if there are existing diagnostics requested in the thread, perform
Expand Down

0 comments on commit 37eaee7

Please sign in to comment.