1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-04 10:24:41 +02:00

Create lock-closed-issues.yml

Added new workflow for locking closed issues, pull requests and discussions.
This commit is contained in:
Dimitri Huisman 2024-09-09 09:30:12 +02:00 committed by GitHub
parent 1c885c6abd
commit ce02f19110
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,26 @@
name: 'Lock closed issues'
# Workflow that automatically locks already closed issues,
# pull requests and discussions.
on:
schedule:
- cron: '30 6 * * *'
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
pr-inactive-days: 28
discussion-inactive-days: 28