Skip to content

Commit

Permalink
Merge pull request PhantomBot#3532 from gmt2001/patch-765
Browse files Browse the repository at this point in the history
Add lock-threads action
  • Loading branch information
gmt2001 authored Sep 13, 2024
2 parents 58b43dd + 0a8ca25 commit 7d1ce30
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 7d1ce30

Please sign in to comment.