Skip to content

Commit

Permalink
Replace lock bot with GitHub Action
Browse files Browse the repository at this point in the history
The lock bot Github app is not working anymore.
  • Loading branch information
gerard33 committed Nov 10, 2020
1 parent a3a962b commit 1b1feb9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lock

# yamllint disable-line rule:truthy
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-exclude-labels: ""
issue-lock-labels: ""
issue-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
issue-lock-reason: ""
pr-lock-inactive-days: "7"
pr-exclude-created-before: "2020-10-01T00:00:00Z"
pr-exclude-labels: ""
pr-lock-labels: ""
pr-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.
pr-lock-reason: ""

0 comments on commit 1b1feb9

Please sign in to comment.