uptime-kuma/.github/workflows/stale-bot.yml

23 lines
1.1 KiB
YAML
Raw Normal View History

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:
2021-10-18 15:22:08 +03:00
- uses: actions/stale@v4
with:
2021-10-18 00:20:32 +03:00
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 7 days.'
2021-10-18 15:23:18 +03:00
stale-pr-message: 'We are clearing up our old Pull Requests and yours has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 7 days.'
2021-10-18 00:20:32 +03:00
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
days-before-stale: 180
2021-10-18 00:20:32 +03:00
days-before-close: 7
exempt-issue-labels: 'News,Medium,High,discussion,bug,doc,'
2021-10-18 00:20:32 +03:00
exempt-pr-labels: 'awaiting-approval,work-in-progress,enhancement,'
exempt-issue-assignees: 'louislam'
exempt-pr-assignees: 'louislam'