-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (50 loc) · 1.76 KB
/
stale-issues.yml
File metadata and controls
55 lines (50 loc) · 1.76 KB
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
47
48
49
50
51
52
53
54
55
name: Stale Issues
on:
workflow_call:
inputs:
days-before-stale:
description: 'Days of inactivity before marking stale'
required: false
default: 730
type: number
days-before-close:
description: 'Days after stale label before closing'
required: false
default: 30
type: number
dry-run:
description: 'Dry run - log actions without making changes'
required: false
default: false
type: boolean
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
actions: write
steps:
- uses: actions/stale@v10
with:
days-before-stale: ${{ inputs.days-before-stale }}
days-before-close: ${{ inputs.days-before-close }}
stale-issue-label: 'stale'
stale-issue-message: |
This issue has been automatically marked as stale because it has not had
any activity in over 2 years.
If this issue is still relevant:
- Please test on a current version of this package.
- Add a comment with your findings
If no activity occurs in the next 30 days, this issue will be
automatically closed. Issues can be reopened if needed.
close-issue-message: |
This issue has been automatically closed due to inactivity.
If you can still reproduce this issue on a current version,
please feel free to reopen it with updated information.
close-issue-reason: 'not_planned'
# Don't touch PRs
days-before-pr-stale: -1
days-before-pr-close: -1
operations-per-run: 1000
# Dry run mode - log only, no changes
debug-only: ${{ inputs.dry-run }}