Skip to content

Commit 774bec3

Browse files
committed
ci: add stale workflow
1 parent 029ca91 commit 774bec3

File tree

3 files changed

+17
-44
lines changed

3 files changed

+17
-44
lines changed

.github/lock.yml

-23
This file was deleted.

.github/stale.yml

-21
This file was deleted.

.github/workflows/stale.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 0 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v9
11+
with:
12+
stale-issue-message: 'This issue has been marked as stale because it has been inactive for more than 21 days. Please reopen if you still need help on this issue'
13+
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 21 days. Please reopen if you still intend to submit this pull request'
14+
close-issue-message: 'This issue has been automatically closed because it has been inactive for more than 4 weeks. Please reopen if you still need help on this issue'
15+
close-pr-message: 'This pull request has been automatically closed because it has been inactive for more than 4 weeks. Please reopen if you still intend to submit this pull request'
16+
days-before-stale: 21
17+
days-before-close: 5

0 commit comments

Comments
 (0)