Skip to content

Commit 0e9e4bb

Browse files
authored
build: replace the stale app with gh-actions (cotes2020#1076)
The stale app is deprecated and no longer maintained
1 parent 1682ce9 commit 0e9e4bb

1 file changed

Lines changed: 24 additions & 15 deletions

File tree

.github/stale.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
1-
# Clean up the stale issues
1+
name: "Close stale issues and PRs"
22

3-
daysUntilStale: 30
4-
daysUntilClose: 1
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *" # every day at 00:00 UTC
56

6-
exemptLabels:
7-
- in progress
8-
- pending
9-
10-
staleLabel: stale
11-
12-
markComment: >
13-
This issue has been automatically marked as stale because it has not had
14-
recent activity. It will be closed if no further activity occurs. Thank you
15-
for your contributions.
16-
17-
closeComment: false
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v8
12+
with:
13+
days-before-stale: 30
14+
days-before-close: 1
15+
stale-issue-label: stale
16+
exempt-issue-milestones: pending
17+
stale-issue-message: >
18+
This issue has been automatically marked as stale because it has not had recent activity.
19+
It will be closed if no further activity occurs.
20+
Thank you for your contributions.
21+
stale-pr-label: stale
22+
exempt-pr-milestones: pending
23+
stale-pr-message: >
24+
This PR has been automatically marked as stale because it has not had recent activity.
25+
It will be closed if no further activity occurs.
26+
Thank you for your contributions.

0 commit comments

Comments
 (0)