mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Add support for closing stale Issues/PR
This commit is contained in:
parent
df5efcc71c
commit
c622f7958f
17
.github/workflows/stale-bot
vendored
Normal file
17
.github/workflows/stale-bot
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: 'Automatically close stale issues and PRs'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
#Run once a day at midnight
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
stale-issue-message: 'We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.'
|
||||||
|
days-before-stale: 180
|
||||||
|
days-before-close: 15
|
||||||
|
exempt-issue-labels: 'News,Medium,High,discussion,bug,doc,'
|
||||||
|
operations-per-run: 500
|
Loading…
Reference in New Issue
Block a user