20 lignes
338 o
YAML
20 lignes
338 o
YAML
|
name: Lock threads
|
||
|
|
||
|
on:
|
||
|
# Daily
|
||
|
schedule:
|
||
|
- cron: '0 0 * * *'
|
||
|
# Manual trigger
|
||
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
|
||
|
jobs:
|
||
|
lock:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: dessant/lock-threads@v5
|
||
|
with:
|
||
|
github-token: ${{ github.token }}
|
||
|
issue-inactive-days: '2'
|
||
|
pr-inactive-days: '2'
|