-
Notifications
You must be signed in to change notification settings - Fork 26
43 lines (40 loc) · 1.45 KB
/
stale.yaml
File metadata and controls
43 lines (40 loc) · 1.45 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
name: Close Stale Issues
on:
schedule:
- cron: '0 0 * * 1' # run weekly on Monday at midnight UTC
workflow_dispatch:
inputs:
debug-only:
description: 'Run in debug/dry-run mode (no changes)'
type: boolean
default: false
permissions:
issues: write
concurrency:
group: stale-issues
cancel-in-progress: true
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
with:
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. If this
issue is still relevant, please comment to keep it open.
close-issue-message: >
This issue was closed because it has been stale for too long with no activity.
Feel free to reopen if this is still relevant.
days-before-issue-stale: 90
days-before-issue-close: 30
stale-issue-label: stale
close-issue-reason: not_planned
exempt-issue-labels: pinned,security,bug,keep-open,enhancement,linear,good first issue,help wanted
exempt-all-assignees: true
remove-stale-when-updated: true
operations-per-run: 100
days-before-pr-stale: -1
days-before-pr-close: -1
debug-only: ${{ inputs.debug-only || false }}