Skip to content

Commit fc4d627

Browse files
committed
Add stale workflow
1 parent d77e8e7 commit fc4d627

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/stale.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Stale Issues & PRs
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
mark_stale:
10+
name: Mark issues and PRs as stale
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v3
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
exempt-issue-labels: Not Stale
17+
exempt-pr-labels: Not Stale
18+
stale-issue-message: >
19+
This issue is stale because it has been open for 60 days with no
20+
activity. Remove the "Stale" label or comment on the issue, or it
21+
will be closed in 7 days.
22+
stale-pr-message: >
23+
This pull request is stale because it has been open for 60 days
24+
with no activity. Remove the "Stale" label or comment on the pull
25+
request, or it will be closed in 7 days.
26+
close-issue-message: >
27+
This issue has been marked as stale and closed due to no activity
28+
on it.
29+
close-pr-message: >
30+
This pull request has been marked as stale and closed due to no
31+
activity on it.

0 commit comments

Comments
 (0)