Skip to content

Commit

Permalink
Create lock_old_threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 authored Apr 25, 2022
1 parent ccef84d commit 86f0bb7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lock_old_threads
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Lock Old Threads'

on:
schedule:
- cron: '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:
issue-inactive-days: '7'
pr-inactive-days: '9999'
exclude-any-issue-labels: 'do not lock'

0 comments on commit 86f0bb7

Please sign in to comment.