mihon/.github/workflows/lock.yml

20 lines
385 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:
2024-03-17 10:21:05 -04:00
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
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'