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:
parent
1c885c6abd
commit
ce02f19110
26
.github/workflows/lock-closed-issues.yml
vendored
Normal file
26
.github/workflows/lock-closed-issues.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user