mihon/.github/workflows/lock.yml

20 lines
385 B
YAML
Raw Normal View History

2021-04-10 15:48:30 +02:00
name: Lock threads
2021-04-10 15:35:53 +02:00
on:
# Daily
schedule:
- cron: '0 0 * * *'
2021-04-10 15:35:53 +02:00
# Manual trigger
workflow_dispatch:
inputs:
jobs:
lock:
runs-on: ubuntu-latest
steps:
2024-03-17 15:21:05 +01:00
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
2021-04-10 15:35:53 +02:00
with:
github-token: ${{ github.token }}
2021-12-17 16:47:55 +01:00
issue-inactive-days: '2'
pr-inactive-days: '2'