Skip to content

Commit

Permalink
ci(workflows): add lock-inactive-threads
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Sep 4, 2021
1 parent 414e4ba commit e139994
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lock-inactive-threads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Lock Inactive Threads
#
# References:
#
# - https://github.com/dessant/lock-threads

---
name: lock-inactive-threads
on:
schedule:
- cron: '0 0 * * *'
jobs:
lock:
name: Lock inactive issues and pull requests
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
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. Make sure to reference this issue.
issue-lock-inactive-days: 30
pr-lock-comment: >
This pull request has been automatically locked since there has not
been any recent activity after it was closed. Please open a new
issue for related bugs. Make sure to reference this issue.
pr-lock-inactive-days: 30

0 comments on commit e139994

Please sign in to comment.