Migrate lock-bot to GitHub actions

This commit is contained in:
JustArchi
2020-08-18 11:44:36 +02:00
parent 3292816967
commit 28fa7ac538
2 changed files with 16 additions and 31 deletions

16
.github/workflows/lock.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: ASF-lock-threads
on:
schedule:
- cron: '0 1 * * *'
jobs:
lock:
runs-on: ubuntu-latest
steps:
- name: Lock inactive threads
uses: dessant/lock-threads@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-inactive-days: 30
pr-lock-inactive-days: 30