Skip to content

Commit

Permalink
workflows: lock closed threads after 90 days (#6843)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Mar 15, 2022
1 parent 714383a commit d392bc6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lock.yml
@@ -0,0 +1,25 @@
name: 'Lock Threads'

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

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-inactive-days: '90'
issue-lock-reason: 'resolved'
pr-inactive-days: '365'
pr-lock-reason: 'resolved'

0 comments on commit d392bc6

Please sign in to comment.