Skip to content

Commit df4cc9b

Browse files
committed
Update nodejs-build-and-test.yml
Initial commit
0 parents  commit df4cc9b

27 files changed

+1348
-0
lines changed
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
name: 🐞 Bug Report
2+
description: File a bug report.
3+
4+
labels: ["bug"]
5+
assignees:
6+
- donavanbecker
7+
- SwitchBot
8+
- SwitchBot-Wonderlabs
9+
- Minsheng
10+
- Devin-Wonderlabs
11+
- chenliuyun
12+
13+
body:
14+
- type: markdown
15+
attributes:
16+
value: |
17+
Hi. Thanks for taking the time to fill out this bug report!
18+
19+
Before we start, be sure you are aware of the following points:
20+
- Review any Troubleshooting and FAQ pages in the Wiki or Readme to ensure your issue isn't already solved by those steps.
21+
- Avoid duplicating any existing issues which already track or resolved your problem.
22+
- Aim to find a descriptive and precise title for your bug report.
23+
- Please add the `beta` label, if your issue is releated to a current beta release.
24+
- type: textarea
25+
id: analysis
26+
attributes:
27+
label: Analysis
28+
description: Please provide a concise description of the bug or issue you encounter.
29+
placeholder: A clear and concise description of what the bug is.
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
id: expected-behavior
35+
attributes:
36+
label: Expected Behavior
37+
description: Please provide a clear and concise description of what you expected to happen.
38+
placeholder: A clear and concise description of what you expected to happen.
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: reproduction
44+
attributes:
45+
label: Steps To Reproduce
46+
description: Please provide a description of how to reproduce the issue.
47+
placeholder: |
48+
A description of how to reproduce the bug.
49+
1. In this setup or under those conditions ...
50+
2. Run ...
51+
3. Encounter error ...
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: logs
57+
attributes:
58+
label: Logs
59+
description: |
60+
Please provide relevant log output.
61+
Be sure to **remove any sennsitive information** (passwords, tokens, etc.).
62+
If you have lengthy log message, please use the file upload functionality in the `Additional Context` section to supply log files.
63+
placeholder: Please paste logging output. Refer to the GitHub Wiki on how to enable `DEBUG` output.
64+
render: markdown
65+
validations:
66+
required: true
67+
68+
- type: textarea
69+
id: config
70+
attributes:
71+
label: Configuration
72+
description: |
73+
Please provide, if applicable, the content of your configuration files (e.g. `config.json`).
74+
Be sure to **remove any sennsitive information** (passwords, tokens, etc.).
75+
If you have lengthy configuration, please use the file upload functionality in the `Additional Context` section to supply config files.
76+
placeholder: Please paste configuration ...
77+
render: json
78+
validations:
79+
required: true
80+
81+
- type: textarea
82+
id: environment
83+
attributes:
84+
label: Environment
85+
description: |
86+
Describe your Environment when running Node/Python/Etc.
87+
It should include Operating System version, runtime version and the version of the software itself.
88+
89+
The environment description might look like the following:
90+
- **OS**: Ubuntu 20.04
91+
- **Node**: 18.13.0 (outpout of `node -v`)
92+
- **npm**: 8.1.0 (output of `npm -v`)
93+
value: |
94+
- OS:
95+
- Software:
96+
- Node:
97+
- npm:
98+
validations:
99+
required: true
100+
101+
- type: textarea
102+
id: additional-context
103+
attributes:
104+
label: Additional Context
105+
description: |
106+
Please provide any additional context that might be relevant for your bug report.
107+
108+
It might include screenshots, configuration (files) or log output.
109+
placeholder: Any additional context that might be relevant for your bug report.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: SwitchBot (Official website)
4+
url: https://www.switch-bot.com/
5+
about: The Offical SwitchBot Website.
6+
- name: Facebook @SwitchBotRobot
7+
url: https://www.facebook.com/SwitchBotRobot/
8+
about: The Offical SwitchBot Facebook Page.
9+
- name: Twitter @SwitchBot
10+
url: https://twitter.com/switchbot
11+
about: The Offical SwitchBot Twitter.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: 🔬 Experimental Change
2+
description: Suggest an experimental or visionary improvement for this project.
3+
4+
labels: ["vision", "enhancement"]
5+
assignees:
6+
- donavanbecker
7+
- SwitchBot
8+
- SwitchBot-Wonderlabs
9+
- Minsheng
10+
- Devin-Wonderlabs
11+
- chenliuyun
12+
13+
body:
14+
- type: markdown
15+
attributes:
16+
value: |
17+
Hi. Thanks for taking the time to contribute to this OpenWonderLabs project!
18+
19+
- type: textarea
20+
id: problem
21+
attributes:
22+
label: Current Situation
23+
description: Please provide an overview of the current situation and illustrate potential problems or shortcommings.
24+
placeholder: A clear and concise description of the problem or situation that should be addressed.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: solution
30+
attributes:
31+
label: Proposed Change
32+
description: Please provide a clear and concise description of the solution or change you propose and how it should work.
33+
placeholder: A clear and concise description of the solution or change you propose and how it should work.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: additional-context
39+
attributes:
40+
label: Additional Context
41+
description: |
42+
Please provide any additional context that might be relevant for your request.
43+
You may add screenshots, log output or configuration files.
44+
placeholder: Any additional context that might be relevant for your request.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: 🚀 Feature Request
2+
description: Suggest an improvement or a new feature for this project.
3+
4+
labels: ["enhancement"]
5+
assignees:
6+
- donavanbecker
7+
- SwitchBot
8+
- SwitchBot-Wonderlabs
9+
- Minsheng
10+
- Devin-Wonderlabs
11+
- chenliuyun
12+
13+
body:
14+
- type: markdown
15+
attributes:
16+
value: |
17+
Hi. Thanks for taking the time to contribute to this OpenWonderLabs project!
18+
19+
- type: textarea
20+
id: problem
21+
attributes:
22+
label: Current Situation
23+
description: Please provide an overview of the current situation and illustrate potential problems or shortcommings.
24+
placeholder: A clear and concise description of the problem or situation that should be addressed.
25+
validations:
26+
required: true
27+
28+
- type: textarea
29+
id: solution
30+
attributes:
31+
label: Proposed Change
32+
description: Please provide a clear and concise description of the solution or change you propose and how it should work.
33+
placeholder: A clear and concise description of the solution or change you propose and how it should work.
34+
validations:
35+
required: true
36+
37+
- type: textarea
38+
id: additional-context
39+
attributes:
40+
label: Additional Context
41+
description: |
42+
Please provide any additional context that might be relevant for your request.
43+
You may add screenshots, log output or configuration files.
44+
placeholder: Any additional context that might be relevant for your request.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: ❓ Support Request
2+
description: Get help when you encounter problems with OpenWonderLabs software. Or simply ask a question.
3+
4+
labels: ["question"]
5+
assignees:
6+
- donavanbecker
7+
- SwitchBot
8+
- SwitchBot-Wonderlabs
9+
- Minsheng
10+
- Devin-Wonderlabs
11+
- chenliuyun
12+
13+
body:
14+
- type: markdown
15+
attributes:
16+
value: |
17+
Hi. Before you start filling out this form be aware of the following points:
18+
- Review our **Troubleshooting** and **FAQ** pages in the Wiki to ensure your issue isn't already solved by those steps.
19+
- Search through **existing issues** (resolved or open) which might provide a solution to your problem already.
20+
- If your issue is **plugin specific**, reaise an issue with the plugin author on their GitHub page instead.
21+
- **Ask the community**: We have a Discord and a Reddit. Active community members might provide help quicker on those platforms.
22+
23+
- type: textarea
24+
id: problem
25+
attributes:
26+
label: Current Situation
27+
description: Please provide an overview of the current situation and illustrate potential problems or shortcommings.
28+
placeholder: A clear and concise description of the problem or situation that should be addressed.
29+
validations:
30+
required: true
31+
32+
- type: textarea
33+
id: logs
34+
attributes:
35+
label: Logs
36+
description: |
37+
Please provide relevant log output.
38+
Be sure to **remove any sennsitive information** (passwords, tokens, etc.).
39+
If you have lengthy log message, please use the file upload functionality in the `Additional Context` section to supply log files.
40+
placeholder: Please paste logging output. Refer to the GitHub Wiki on how to enable `DEBUG` output.
41+
render: markdown
42+
validations:
43+
required: true
44+
45+
- type: textarea
46+
id: config
47+
attributes:
48+
label: Configuration
49+
description: |
50+
Please provide, if applicable, the content of your configuration files (e.g. `config.json`).
51+
Be sure to **remove any sennsitive information** (passwords, tokens, etc.).
52+
If you have lengthy configuration, please use the file upload functionality in the `Additional Context` section to supply config files.
53+
placeholder: Please paste configuration ...
54+
render: json
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
id: environment
60+
attributes:
61+
label: Environment
62+
description: |
63+
Describe your Environment when running Node/Python/Etc.
64+
It should include Operating System version, runtime version and the version of the software itself.
65+
66+
The environment description might look like the following:
67+
- **OS**: Ubuntu 20.04
68+
- **Node**: 18.13.0 (outpout of `node -v`)
69+
- **npm**: 8.1.0 (output of `npm -v`)
70+
value: |
71+
- OS:
72+
- Software:
73+
- Node:
74+
- npm:
75+
validations:
76+
required: true
77+
78+
- type: textarea
79+
id: additional-context
80+
attributes:
81+
label: Additional Context
82+
description: |
83+
Please provide any additional context that might be relevant for your request.
84+
85+
It might include screenshots, configuration (files) or log output.
86+
placeholder: Any additional context that might be relevant for your request.

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: 'github-actions' # See documentation for possible values
9+
directory: '/' # Location of package manifests
10+
target-branch: 'latest'
11+
schedule:
12+
interval: 'daily'

.github/labeler.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Add 'branding' label to any changes within 'docs' folder or any subfolders
2+
branding:
3+
- changed-files:
4+
- any-glob-to-any-file: branding/**
5+
6+
# Add 'docs' label to any change to .md files within the entire repository
7+
docs:
8+
- changed-files:
9+
- any-glob-to-any-file: '**/*.md'
10+
11+
# Add 'enhancement' label to any change to src files within the source dir EXCEPT for the docs sub-folder
12+
enhancement:
13+
- changed-files:
14+
- any-glob-to-any-file: 'src/**/*'
15+
- any-glob-to-any-file: 'config.schema.json'
16+
17+
# Add 'dependencies' label to any change to src files within the source dir EXCEPT for the docs sub-folder
18+
dependencies:
19+
- changed-files:
20+
- any-glob-to-any-file: 'package.json'
21+
- any-glob-to-any-file: 'package-lock.json'
22+
23+
# Add 'beta' label to any PR that is opened against the `beta` branch
24+
beta:
25+
- base-branch: 'beta*'
26+
27+
# Add 'alpha' label to any PR that is opened against the `alpha` branch
28+
alpha:
29+
- base-branch: 'alpha*'
30+
31+
# Add 'latest' label to any PR that is opened against the `latest` branch
32+
latest:
33+
- base-branch: 'latest'
34+
35+
# Add 'workflow' to any changes within 'workflow' folder or any subfolders
36+
workflow:
37+
- changed-files:
38+
- any-glob-to-any-file: .github/**

0 commit comments

Comments
 (0)