Lock bot replacement in GitHub Actions (#15575)

This commit is contained in:
Franck Nijhof 2020-11-09 10:50:06 +01:00 committed by GitHub
parent 4ebb1d0cf4
commit 3a3ad1a4f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,19 @@
name: Lock
on:
schedule:
- cron: "0 * * * *"
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.0.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "30"
issue-exclude-created-before: "2020-10-01T00:00:00Z"
issue-lock-reason: ""
pr-lock-inactive-days: "1"
pr-exclude-created-before: "2020-11-01T00:00:00Z"
pr-lock-reason: ""