24 lines
1.2 KiB
YAML
24 lines
1.2 KiB
YAML
name: 'Mark or close stale issues and PRs'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '00 * * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-stale: 60
|
|
days-before-close: 5
|
|
stale-issue-message: 'This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
|
|
stale-pr-message: 'This PR has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
|
|
close-issue-message: 'This issue was automatically closed due to being stale. Please feel free to re-open it if you still experience this problem.'
|
|
close-pr-message: 'This PR was automatically closed due to being stale.'
|
|
stale-pr-label: 'status: stale'
|
|
stale-issue-label: 'status: stale'
|
|
exempt-issue-labels: 'cooldown period,priority: high,priority: critical'
|
|
ascending: true
|