Skip to content

Commit d8470f9

Browse files
committed
Replace Probot Stale with GitHub Action
Looks like Probot Stale is abandoned... Too bad. 😒
1 parent 221625e commit d8470f9

File tree

2 files changed

+28
-17
lines changed

2 files changed

+28
-17
lines changed

.github/stale.yml

-17
This file was deleted.

.github/workflows/stale.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Mark or close stale issues and PRs"
2+
on:
3+
schedule:
4+
- cron: "0 12 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v3
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
days-before-stale: 7
14+
days-before-close: 2
15+
stale-issue-message: >
16+
This issue has been automatically marked as stale because it has not had
17+
recent activity. It will be closed in two days if no further activity
18+
occurs. Thank you for your contributions! :+1:
19+
stale-pr-message: >
20+
This pull request has been automatically marked as stale because it has not had
21+
recent activity. It will be closed in two days if no further activity
22+
occurs. Thank you for your contributions! :+1:
23+
stale-pr-label: "info: Stale"
24+
stale-issue-label: "info: Stale"
25+
exempt-issue-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
26+
exempt-pr-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
27+
remove-stale-when-updated: true
28+

0 commit comments

Comments
 (0)