chore: Automatically lock closed issues and PRs (#1607)

This commit is contained in:
Dermot Duffy
2024-10-03 19:52:28 -07:00
committed by GitHub
parent 21b468734c
commit c7c9f0d409
+22
View File
@@ -0,0 +1,22 @@
name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: '23 13 * * *'
workflow_dispatch:
concurrency:
group: lock
jobs:
lock:
if: github.repository_owner == 'dermotduffy'
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5.0.1
with:
issue-inactive-days: '30'
issue-lock-reason: ''
pr-inactive-days: '30'
pr-lock-reason: ''