-
Notifications
You must be signed in to change notification settings - Fork 76
42 lines (40 loc) · 1.09 KB
/
stale.yml
File metadata and controls
42 lines (40 loc) · 1.09 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
name: Stale Issues
on:
schedule:
# Run weekly on Sunday at 2:00 AM UTC
- cron: '0 2 * * 0'
workflow_dispatch:
inputs:
days-before-stale:
description: 'Days of inactivity before marking stale (4y, 3y, 2y, 1y, 180d, 90d)'
required: false
default: '730'
type: choice
options:
- '1460'
- '1095'
- '730'
- '365'
- '180'
- '90'
days-before-close:
description: 'Days after stale label before closing'
required: false
default: '30'
type: choice
options:
- '30'
- '14'
- '7'
dry-run:
description: 'Dry run - log actions without making changes'
required: false
default: false
type: boolean
jobs:
stale:
uses: linuxmint/github-actions/.github/workflows/stale-issues.yml@master
with:
days-before-stale: ${{ fromJSON(inputs.days-before-stale || '730') }}
days-before-close: ${{ fromJSON(inputs.days-before-close || '30') }}
dry-run: ${{ inputs.dry-run || false }}