Skip to content

Commit

Permalink
chore: Install lock workflow to lock stale discussions after one year (
Browse files Browse the repository at this point in the history
  • Loading branch information
aviator-app[bot] authored Mar 12, 2024
2 parents 79239ef + 7f51044 commit 5a5db0b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Lock threads"

on:
schedule:
- cron: "0 0 * * *"

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "365"
issue-lock-reason: ""
issue-lock-comment: >
This old thread has been automatically locked. If you think you have
found something related to this, please open a new issue and link to this
old issue if necessary.

0 comments on commit 5a5db0b

Please sign in to comment.