-
Notifications
You must be signed in to change notification settings - Fork 30
46 lines (37 loc) · 1.71 KB
/
stale.yml
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:
workflow_dispatch:
schedule:
- cron: 30 1 * * *
jobs:
stale:
# Only on main repository (don't check on forks)
if: github.repository_owner == 'stempler'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
# Number of days of inactivity before an issue becomes stale
days-before-stale: 60
# Number of days of inactivity before a stale issue is closed
days-before-close: 14
# Label to use when marking an issue as stale
stale-issue-label: stale
stale-pr-label: stale
# Issues with these labels will never be considered stale
exempt-issue-labels: pinned,security,confirmed,planned
exempt-pr-labels: pinned,security,confirmed,planned,dependencies
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
activity in the last 60 days. It will be closed in two weeks if no further activity
occurs. Thank you for your contributions.
close-issue-message: >
This issue has been automatically closed due to inactivity. If it
is still valid, please post a comment.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
activity in the last 60 days. It will be closed in two weeks if no further activity
occurs. Thank you for your contributions.
close-pr-message: >
This pull request has been automatically closed due to inactivity. If it
is still valid, please post a comment.