Skip to content

Commit

Permalink
Merge pull request #94 from un1t/feature/lock-threads
Browse files Browse the repository at this point in the history
Create lock threads workflow
  • Loading branch information
vinnyrose committed Jul 23, 2022
2 parents 638d507 + a389a43 commit 47e3fd8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lockThreads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Lock Threads'

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
issue-inactive-days: '30'
issue-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-inactive-days: '30'
pr-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.

0 comments on commit 47e3fd8

Please sign in to comment.