Skip to content

Commit 84f727b

Browse files
authored
Add workflow for close stale issue (#2323)
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
1 parent 35f8cfb commit 84f727b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Close stale issue
2+
3+
permissions:
4+
contents: read
5+
issues: write
6+
7+
on:
8+
schedule:
9+
- cron: "30 22 * * *"
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v10
16+
with:
17+
days-before-issue-stale: 60
18+
days-before-issue-close: 7
19+
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."
20+
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."

0 commit comments

Comments
 (0)