Skip to content

Commit 4c237cf

Browse files
committed
2 parents d97c92a + 841f6b7 commit 4c237cf

File tree

7 files changed

+128
-0
lines changed

7 files changed

+128
-0
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Bug 🐞
2+
description: Report a bug
3+
labels: [support, bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report! ☺️
9+
- type: textarea
10+
attributes:
11+
label: Steps to reproduce
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: What is expected?
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: What is actually happening?
22+
validations:
23+
required: true
24+
- type: textarea
25+
attributes:
26+
label: Additional data
27+
value: |
28+
<!-- If technical bug
29+
NodeJS Version:
30+
Package manager(npm|yarn|pnpm):
31+
Browser name & version:
32+
System:
33+
-->
34+
35+
<!-- If design file bug
36+
Technology(figma|sketch):
37+
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Feature request ✨
2+
description: Suggest an idea or ask for a feature that you would like to have
3+
labels: [support, feature-req]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for letting us know how we can improve our product! ☺️
9+
- type: textarea
10+
attributes:
11+
label: What problem does this feature solve?
12+
validations:
13+
required: true
14+
- type: textarea
15+
attributes:
16+
label: What does the proposed solution look like?
17+
validations:
18+
required: true
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: 'Handle new issue comment'
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
handle_new_issue_comment:
8+
runs-on: ubuntu-latest
9+
name: Handle new issue comment
10+
steps:
11+
- name: Toggle awaiting-reply label
12+
uses: jd-solanki/gh-action-toggle-awaiting-reply-label@v2.1.0
13+
with:
14+
label: awaiting-reply
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Handle new issue'
2+
on:
3+
issues:
4+
types: [opened]
5+
6+
jobs:
7+
handle_new_issue:
8+
runs-on: ubuntu-latest
9+
name: Handle new issue
10+
steps:
11+
- name: Find duplicates
12+
uses: wow-actions/potential-duplicates@v1.0.8
13+
with:
14+
GITHUB_TOKEN: ${{ github.token }}
15+
label: duplicate
16+
comment: >
17+
Potential duplicates: {{#issues}}
18+
- #{{ number }} _({{ accuracy }}% Match)_
19+
{{/issues}}

.github/workflows/issue-staler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v4
11+
with:
12+
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern.'
13+
close-issue-message: 'This issue has been automatically marked as closed because it has no recent activity.'
14+
stale-issue-label: 'stale'
15+
only-labels: 'awaiting-reply'
16+
exempt-issue-labels: 'triage'
17+
days-before-stale: 7
18+
days-before-close: 7

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 ThemeSelection
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)