Skip to content

Commit

Permalink
maintenance!: lock old and outdated issues
Browse files Browse the repository at this point in the history
To avoid spamming dead issues from years ago with unhelpful comments
Locks all closed issues more than 180 days old
This allows recently closed issues to be reopened if necessary
  • Loading branch information
MKRhere committed Sep 30, 2023
1 parent 1d7e61b commit 275f211
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'Lock old issues'

on:
schedule:
- cron: '*/30 * * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
github-token: ${{ github.token }}
issue-inactive-days: '180'
issue-lock-reason: 'resolved'
process-only: 'issues'
log-output: false

0 comments on commit 275f211

Please sign in to comment.