2021-04-10 21:48:30 +08:00
|
|
|
name: Lock threads
|
2021-04-10 21:35:53 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
# Daily
|
|
|
|
schedule:
|
2021-12-17 23:40:52 +08:00
|
|
|
- cron: '0 0 * * *'
|
2021-04-10 21:35:53 +08:00
|
|
|
# Manual trigger
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-12-04 11:16:56 +08:00
|
|
|
- uses: dessant/lock-threads@v4
|
2021-04-10 21:35:53 +08:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2021-12-17 23:47:55 +08:00
|
|
|
issue-inactive-days: '2'
|
|
|
|
pr-inactive-days: '2'
|