Skip to content

Commit b47c16e

Browse files
committed
Migrate to GHA stale action
Signed-off-by: Jordan Borean <jborean93@gmail.com>
1 parent 12303bc commit b47c16e

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

.github/stale.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Stale handler
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/stale@4.0.0
16+
id: stale
17+
with:
18+
days-before-stale: 28
19+
days-before-close: 14
20+
exempt-issue-labels: bug,enhancement
21+
exempt-pr-labels: bug,enhancement
22+
stale-issue-label: stale
23+
stale-pr-label: stale
24+
stale-issue-message: >-
25+
This issue is stale because it has been open for 4 weeks with no activity.
26+
Remove stale label or comment or this will be closed in 2 weeks.
27+
stale-pr-message: >-
28+
This pull request is stale because it has been open for 4 weeks with no activity.
29+
Remove stale label or comment or this will be closed in 2 weeks.

0 commit comments

Comments
 (0)