python-telegram-bot/.github/workflows/lock.yml

20 lines
423 B
YAML
Raw Normal View History

name: 'Lock Closed Threads'
on:
schedule:
- cron: '8 4 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@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'