-
Notifications
You must be signed in to change notification settings - Fork 24
46 lines (43 loc) · 1.72 KB
/
stale.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Close stale issues and PRs
on:
push:
paths:
- .github/workflows/stale.yml
branches-ignore:
- dependabot/**
- releases/**
schedule:
# Once every day at midnight UTC. Source: https://crontab.guru/every-day
- cron: '0 0 * * *'
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# Setting this variable to 'true' will cause the
# action to run in a dry-run mode
debug-only: ${{ vars.DEBUG_ONLY == 'true' }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
close-issue-message: >
Closing this issue after a prolonged period of inactivity. If this
issue is still present in the latest release, please feel free to
create a new issue with up-to-date information.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
close-pr-message: >
Closing this PR after a prolonged period of inactivity. Please create a new PR
if the changes of the PR are still relevant.
exempt-all-milestones: true
exempt-issue-labels: 'awaiting-inputs,work-in-progress,help-wanted'
exempt-pr-labels: 'awaiting-inputs,work-in-progress,help-wanted'
days-before-issue-stale: 90
days-before-issue-close: 15
days-before-pr-stale: 30
days-before-pr-close: 7