Skip to content

Commit 65342a1

Browse files
committed
close issue automatically
1 parent a6a8333 commit 65342a1

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Close stale issues
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Close stale issues
13+
uses: actions/stale@v9
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
17+
days-before-stale: 365
18+
19+
days-before-close: 7
20+
21+
stale-issue-message: >
22+
This issue has been automatically marked as stale
23+
because it has not had activity for 1 year.
24+
It will be closed in 7 days if no further activity occurs.
25+
26+
close-issue-message: >
27+
Closing this issue due to prolonged inactivity.
28+
29+
stale-issue-label: stale
30+
exempt-issue-labels: pinned,security

0 commit comments

Comments
 (0)