Skip to content

Commit

Permalink
Add issue and pr auto-locking
Browse files Browse the repository at this point in the history
  • Loading branch information
tb1337 committed Feb 9, 2024
1 parent 4379db0 commit 8a93daf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Lock

on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:

jobs:
lock:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/[email protected]
with:
github-token: ${{ github.token }}
issue-inactive-days: "30"
issue-lock-reason: ""
pr-inactive-days: "1"
pr-lock-reason: ""

0 comments on commit 8a93daf

Please sign in to comment.