Skip to content

Commit 3fe67f3

Browse files
committed
chore: add auto close wf
1 parent bb11665 commit 3fe67f3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/stale.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Close stale issues and PRs
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
if: github.repository == 'ota-meshi/eslint-plugin-svelte'
13+
name: Close stale issues with missing information
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/stale@v7
17+
with:
18+
any-of-labels: "needs repro,needs info,needs more info"
19+
days-before-stale: 60
20+
days-before-close: 14
21+
stale-issue-message: This issue is is stale because it missing information and has been open for 60 days with no activity.
22+
stale-pr-message: This PR is is stale because it missing information and has been open for 60 days with no activity.
23+
close-issue-message: >
24+
This issue has been automatically closed because we haven't received a
25+
response from the original author 🙈. This automation helps keep the issue
26+
tracker clean from issues that aren't actionable. Please reach out if you
27+
have more information for us! 🙂
28+
close-pr-message: >
29+
This PR has been automatically closed because we haven't received a
30+
response from the original author 🙈. This automation helps keep the issue
31+
tracker clean from PRs that aren't actionable. Please reach out if you
32+
have more information for us! 🙂

0 commit comments

Comments
 (0)