mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 03:07:25 +01:00
20 lines
348 B
YAML
20 lines
348 B
YAML
|
name: Lock Threads
|
||
|
|
||
|
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'
|