Skip to content

Commit 4d53343

Browse files
committed
chore: stale issue & pr not update
1 parent f2807d1 commit 4d53343

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/stale.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Close stale issues"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/stale@v3
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
# enable issue
15+
stale-issue-message: "This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days."
16+
stale-issue-label: "stale"
17+
# enable pr
18+
stale-pr-message: "This PR is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days."
19+
stale-pr-label: "stale"
20+
days-before-stale: 90
21+
days-before-close: 7
22+
exempt-issue-labels: "wip"
23+
exempt-pr-labels: "wip"
24+
remove-stale-when-updated: true

0 commit comments

Comments
 (0)