Skip to content

Commit 45be60f

Browse files
committed
Replace probot/stale with official stale action
The probot action is no longer listed in their catalog, clearly hasn't been working for awhile and isn't maintained anymore. Let's hope the official one will be working for awhile 🤞. See: - probot/probot.github.io#376 - https://probot.github.io/apps/stale/ - https://github.com/probot/stale
1 parent ef76b5b commit 45be60f

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/stale.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 60
3-
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 7
5-
# Issues with these labels will never be considered stale
6-
exemptLabels:
7-
- pinned
8-
- security
9-
# Label to use when marking an issue as stale
10-
staleLabel: stale
11-
# Comment to post when marking an issue as stale. Set to `false` to disable
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-
# Comment to post when closing a stale issue. Set to `false` to disable
17-
closeComment: false
1+
name: "Close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v7
11+
with:
12+
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."
13+
stale-pr-message: "This pull request is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."

0 commit comments

Comments
 (0)