mihon/.github/workflows/lock.yml

20 lines
338 B
YAML
Raw Normal View History

2021-04-10 09:48:30 -04:00
name: Lock threads
2021-04-10 09:35:53 -04:00
on:
# Daily
schedule:
- cron: '0 0 * * *'
2021-04-10 09:35:53 -04:00
# Manual trigger
workflow_dispatch:
inputs:
jobs:
lock:
runs-on: ubuntu-latest
steps:
2021-12-17 10:47:55 -05:00
- uses: dessant/lock-threads@v3
2021-04-10 09:35:53 -04:00
with:
github-token: ${{ github.token }}
2021-12-17 10:47:55 -05:00
issue-inactive-days: '2'
pr-inactive-days: '2'