Skip to content

Commit

Permalink
Update lock.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 authored Jan 8, 2024
1 parent aab9ddd commit 897ab89
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
name: 'Lock Old Threads'
name: 'Lock Threads'

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

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

concurrency:
group: lock-threads

jobs:
lock:
action:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '7'
issue-lock-reason: ''
pr-lock-inactive-days: '14'
pr-lock-reason: ''
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: '7'
issue-lock-reason: ''
pr-inactive-days: '14'
pr-lock-reason: ''
discussion-inactive-days: '28'

0 comments on commit 897ab89

Please sign in to comment.