Skip to content

Commit

Permalink
ci: lock old resolved issue/PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored Dec 27, 2023
1 parent 12560e2 commit 4feecb6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Lock threads'

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

permissions:
issues: write
pull-requests: write


jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ github.token }}
issue-inactive-days: 14
pr-inactive-days: 14

0 comments on commit 4feecb6

Please sign in to comment.