Skip to content

Commit

Permalink
chore(ci): lock inactive issues/prs
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 18, 2020
1 parent 20594d6 commit 1cc701d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lock.yml
@@ -0,0 +1,26 @@
name: lock-inactive

on:
push:
branches:
- 'master'
schedule:
- cron: '0 * * * *'

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: 30
pr-lock-inactive-days: 30
issue-lock-comment: >
This issue 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-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

1 comment on commit 1cc701d

@vercel
Copy link

@vercel vercel bot commented on 1cc701d Nov 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.