Skip to content

Commit 03270f8

Browse files
committed
Update stale bot
1 parent 4164626 commit 03270f8

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

.github/stale.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
# You can adjust the behavior by modifying this file.
3+
# For more information, see:
4+
# https://github.com/actions/stale
5+
6+
name: 'Close stale issues and PRs'
7+
on:
8+
schedule:
9+
- cron: '30 1 * * *'
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
issues: write
16+
pull-requests: write
17+
steps:
18+
- name: Close Stale Issues
19+
uses: actions/stale@v9
20+
with:
21+
stale-issue-message: >
22+
This issue has been automatically marked as stale because it has not had
23+
recent activity. It will be closed if no further activity occurs. Thank you
24+
for your contributions.
25+
close-issue-message: >
26+
This issue has been automatically closed due to inactivity.
27+
days-before-stale: 360
28+
days-before-close: 28

0 commit comments

Comments
 (0)