Skip to content

Commit 0f174aa

Browse files
Update stale.yml
1 parent 317be68 commit 0f174aa

File tree

1 file changed

+26
-61
lines changed

1 file changed

+26
-61
lines changed

Diff for: .github/stale.yml

+26-61
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,26 @@
1-
# Configuration for probot-stale - https://github.com/probot/stale
2-
3-
# Number of days of inactivity before an Issue or Pull Request becomes stale
4-
daysUntilStale: 60
5-
6-
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7-
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8-
daysUntilClose: 14
9-
10-
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11-
onlyLabels: []
12-
13-
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14-
exemptLabels:
15-
- "Type: For reference"
16-
- "Type: To be implemented"
17-
- "Type: Feature request"
18-
19-
# Set to true to ignore issues in a project (defaults to false)
20-
exemptProjects: false
21-
22-
# Set to true to ignore issues in a milestone (defaults to false)
23-
exemptMilestones: false
24-
25-
# Set to true to ignore issues with an assignee (defaults to false)
26-
exemptAssignees: false
27-
28-
# Label to use when marking as stale
29-
staleLabel: "Status: Stale"
30-
31-
# Comment to post when marking as stale. Set to `false` to disable
32-
markComment: >
33-
[STALE_SET] This issue has been automatically marked as stale because it has not had
34-
recent activity. It will be closed in 14 days if no further activity occurs. Thank you
35-
for your contributions.
36-
37-
# Comment to post when removing the stale label.
38-
unmarkComment: >
39-
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.
40-
41-
# Comment to post when closing a stale Issue or Pull Request.
42-
closeComment: >
43-
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
44-
45-
# Limit the number of actions per hour, from 1-30. Default is 30
46-
limitPerRun: 30
47-
48-
# Limit to only `issues` or `pulls`
49-
only: issues
50-
51-
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
52-
# pulls:
53-
# daysUntilStale: 30
54-
# markComment: >
55-
# This pull request has been automatically marked as stale because it has not had
56-
# recent activity. It will be closed if no further activity occurs. Thank you
57-
# for your contributions.
58-
59-
# issues:
60-
# exemptLabels:
61-
# - confirmed
1+
# This workflow firstly warns and then closes issues that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information can be found here: https://github.com/actions/stale
5+
6+
name: Mark stale issues
7+
on:
8+
schedule:
9+
- cron: '30 9 * * *'
10+
11+
jobs:
12+
stale:
13+
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
18+
steps:
19+
- uses: actions/stale@v3
20+
with:
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}
22+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.'
23+
days-before-stale: 60
24+
days-before-close: 14
25+
exempt-issue-labels: 'Type: For reference,Type: To be implemented,Type: Feature request'
26+
stale-issue-label: 'Status: Stale'

0 commit comments

Comments
 (0)