Skip to content

Commit 40b22f6

Browse files
committed
add stale workflow
1 parent 0983ce3 commit 40b22f6

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Close stale issues"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch:
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v9
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
15+
stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
16+
days-before-stale: 60
17+
days-before-close: 14
18+
operations-per-run: 1000
19+
exempt-pr-labels: "work-in-progress,informational"
20+
exempt-issue-labels: "work-in-progress,informational"

0 commit comments

Comments
 (0)