Skip to content

Commit

Permalink
gh: auto lock closed threads (#9063)
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored Feb 29, 2024
1 parent 120f289 commit 52ec509
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lock-threads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Lock Threads'

on:
schedule:
# at minute 0
- cron: '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: 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-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.
process-only: 'issues, prs'

0 comments on commit 52ec509

Please sign in to comment.