ci: lock inactive threads after 30 days

This commit is contained in:
Gauthier Roebroeck 2022-08-26 10:49:32 +08:00
parent d26415eb39
commit e178da2179

19
.github/workflows/lock.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Lock threads
on:
# Daily
schedule:
- cron: '0 0 * * *'
# Manual trigger
workflow_dispatch:
inputs:
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '30'
pr-lock-inactive-days: '30'