Skip to content

Commit fa32578

Browse files
committed
build: replace the stale app with gh-actions
The stale app is deprecated and no longer maintained
1 parent 1682ce9 commit fa32578

File tree

2 files changed

+30
-17
lines changed

2 files changed

+30
-17
lines changed

.github/stale.yml

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

.github/workflows/stale.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Close stale issues and PRs"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *" # every day at 00:00 UTC
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v8
16+
with:
17+
days-before-stale: 30
18+
days-before-close: 1
19+
stale-issue-label: stale
20+
exempt-issue-milestones: pending
21+
stale-issue-message: >
22+
This issue has been automatically marked as stale because it has not had recent activity.
23+
It will be closed if no further activity occurs.
24+
Thank you for your contributions.
25+
stale-pr-label: stale
26+
exempt-pr-milestones: pending
27+
stale-pr-message: >
28+
This PR has been automatically marked as stale because it has not had recent activity.
29+
It will be closed if no further activity occurs.
30+
Thank you for your contributions.

0 commit comments

Comments
 (0)