Skip to content

Commit

Permalink
Add lock-threads action
Browse files Browse the repository at this point in the history
  • Loading branch information
gmt2001 committed Sep 13, 2024
1 parent 58b43dd commit 0a8ca25
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Lock Threads'

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

permissions:
issues: write
pull-requests: write
discussions: write

concurrency:
group: lock-threads

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: '60'
pr-inactive-days: '60'
discussion-inactive-days: '60'

0 comments on commit 0a8ca25

Please sign in to comment.