mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
3304cc5c90
* Run lock bot twice a day and don't give a reason for locking * Fix indentation * Fix invalid time
18 lines
386 B
YAML
18 lines
386 B
YAML
name: 'Lock Closed Threads'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '8 4 * * *'
|
|
- cron: '42 17 * * *'
|
|
|
|
jobs:
|
|
lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v2.0.1
|
|
with:
|
|
github-token: ${{ github.token }}
|
|
issue-lock-inactive-days: '1'
|
|
issue-lock-reason: ''
|
|
pr-lock-inactive-days: '1'
|
|
pr-lock-reason: ''
|