Skip to content

Commit 8656374

Browse files
committed
Use stale action over deprecated workflow
Signed-off-by: Jordan Borean <[email protected]>
1 parent 7c0c20a commit 8656374

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

.github/stale.yml

-7
This file was deleted.

.github/workflows/stale.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
workflow-dispatchname: Stale pull request handler
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
6+
permissions:
7+
pull-requests: write
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/stale@main
15+
id: stale
16+
with:
17+
days-before-stale: -1
18+
days-before-pr-stable: 28
19+
days-before-pr-close: 14
20+
stale-pr-label: stale
21+
stale-pr-message: >-
22+
This pull request is stale because it has been open for 4 weeks with no activity.
23+
Remove stale label or comment or this will be closed in 2 weeks.

0 commit comments

Comments
 (0)