Skip to content

Commit

Permalink
Implementation for #1933 (comment)
Browse files Browse the repository at this point in the history
Uses https://github.com/marketplace/actions/lock-threads
Settings: issues only, run once a day, lock after 365 days, add comment why it was locked
  • Loading branch information
christophwille committed Aug 3, 2020
1 parent 5c949e6 commit ced4b8d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Lock threads'

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

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.0.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '365'
issue-lock-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
issue-lock-reason: 'resolved'
process-only: 'issues'
# pr-lock-inactive-days: '365'
# pr-lock-reason: 'resolved'

0 comments on commit ced4b8d

Please sign in to comment.