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

24 lines
1.1 KiB
YAML
Raw Normal View History

2022-09-11 09:54:33 +03:00
name: 'Automatically close stale issues and PRs'
on:
schedule:
- cron: '0 */6 * * *'
#Run every 6 hours
2022-09-11 09:54:33 +03:00
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
stale-issue-message: 'We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.'
stale-pr-message: 'We are clearing up our old Pull Requests and yours has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.'
close-issue-message: 'This issue was closed because it has been stalled for 2 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 2 days with no activity.'
2022-09-11 09:54:33 +03:00
days-before-stale: 90
days-before-close: 2
2022-09-11 09:54:33 +03:00
exempt-issue-labels: 'News,Medium,High,discussion,bug,doc,feature-request'
exempt-pr-labels: 'awaiting-approval,work-in-progress,enhancement,feature-request'
exempt-issue-assignees: 'louislam'
exempt-pr-assignees: 'louislam'
operations-per-run: 200