Skip to content

Commit b6b42b2

Browse files
authored
Switch from Lock-Bot to GH Actions (python-telegram-bot#2049)
1 parent f857e1c commit b6b42b2

2 files changed

Lines changed: 15 additions & 20 deletions

File tree

.github/lock.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/lock.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Lock Closed Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '8 4 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/[email protected]
12+
with:
13+
github-token: ${{ github.token }}
14+
issue-lock-inactive-days: '1'
15+
pr-lock-inactive-days: '1'

0 commit comments

Comments
 (0)