Skip to content

Commit

Permalink
ci: replace lock app with lock-threads workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Nov 24, 2024
1 parent 63fc15e commit 12a5b71
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/lock.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: 'Lock Threads'

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

permissions:
issues: write
pull-requests: write
discussions: write

concurrency:
group: lock-threads

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: '21'
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.
issue-lock-reason: 'resolved'
pr-inactive-days: '21'
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.
pr-lock-reason: 'resolved'
discussion-inactive-days: '21'
discussion-comment: >
This discussion has been automatically locked since there
has not been any recent activity after it was closed.
process-only: 'issues, prs, discussions'
log-output: false

0 comments on commit 12a5b71

Please sign in to comment.