Skip to content

Commit 9828a1a

Browse files
authored
Add the stale workflow
Mark PR and issues for stale after 60 days of inactivity. After other 7 days close the issue/PR.
1 parent 0fa9603 commit 9828a1a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/stale.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Stale"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
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+
stale-issue-message: "Marked as stale for no activity in the past 60 days. In 7 days it will be closed unless new activity."
14+
stale-pr-message: "Marked as stale for no activity in the past 60 days. In 7 days it will be closed unless new activity."
15+
exempt-issue-labels: "no-stale"
16+
exempt-pr-labels: "no-stale"

0 commit comments

Comments
 (0)