mihon/.github/workflows/lock.yml

20 lines
348 B
YAML
Raw Normal View History

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