Skip to content

Commit e284339

Browse files
CI: add action to close inactive issues labeled as 'more info required'.
1 parent c7c82de commit e284339

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Close inactive issues
2+
on:
3+
schedule:
4+
- cron: "20 1 * * *" # “At 01:20.” Avoid using top of the hour to reduce load on GitHub.
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
# https://github.com/marketplace/actions/close-stale-issues
14+
- uses: actions/stale@v5
15+
with:
16+
days-before-stale: -1 # Add the stale label manually.
17+
days-before-close: 21
18+
only-labels: "more info required"
19+
stale-issue-label: "more info required"
20+
close-issue-message: "Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue."
21+
close-pr-message: "Without additional information, we are unfortunately not sure how to address this pull request. Therefore this pull request has been automatically closed. Feel free to comment with additional details or submit a new pull request."

0 commit comments

Comments
 (0)