mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
19 lines
466 B
YAML
19 lines
466 B
YAML
name: 'Lock Closed Threads'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '8 4 * * *'
|
|
|
|
jobs:
|
|
lock:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
|
|
with:
|
|
github-token: ${{ github.token }}
|
|
issue-inactive-days: '7'
|
|
issue-lock-reason: ''
|
|
pr-inactive-days: '7'
|
|
pr-lock-reason: ''
|
|
# Don't lock Discussions
|
|
process-only: 'issues, prs'
|