Skip to content

Commit 987a7da

Browse files
authored
chore: add pr and issue templates (#392)
1 parent 34b4fef commit 987a7da

File tree

5 files changed

+133
-0
lines changed

5 files changed

+133
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Bug Report
2+
description: Create a bug report to help us improve `@aws-amplify/data-schema`
3+
labels: ['pending-triage']
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+
id: env
11+
attributes:
12+
label: Package version
13+
description: |
14+
Please copy and paste the output of the following command.
15+
```bash
16+
npm ls @aws-amplify/data-schema
17+
```
18+
render: plain text
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: env
23+
attributes:
24+
label: Schema definition
25+
description: |
26+
Please copy and paste the contents of `amplify/data/resource.ts` below
27+
render: plain text
28+
validations:
29+
required: false
30+
- type: textarea
31+
id: description
32+
attributes:
33+
label: Describe the bug
34+
description: |
35+
A clear and concise description of the bug you are observing.
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: reproduction
40+
attributes:
41+
label: Reproduction steps
42+
description: |
43+
How can this bug be reproduced?
44+
Please include any code snippets or screenshots that you think would be helpful!
45+
For more complex issues provide a repository with the smallest sample that reproduces the issue.
46+
validations:
47+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Ask the Community
4+
url: https://discord.gg/invite/amplify
5+
about: Check out the help channel on Amplify's community Discord to ask your questions about building applications with Amplify.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Feature Request
2+
description: Suggest an idea to help us improve `@aws-amplify/data-schema`
3+
labels: ['pending-triage']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this feature request!
9+
- type: textarea
10+
id: env
11+
attributes:
12+
label: Package version
13+
description: |
14+
Please copy and paste the output of the following command.
15+
```bash
16+
npm ls @aws-amplify/data-schema
17+
```
18+
render: plain text
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: description
23+
attributes:
24+
label: Describe the feature
25+
description: A clear and concise description of the feature you are proposing.
26+
validations:
27+
required: true
28+
- type: textarea
29+
id: use-case
30+
attributes:
31+
label: Use case
32+
description: |
33+
Please provide information about your use case and how this feature will help with it.
34+
validations:
35+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<!--
2+
Thank you for your Pull Request! Please describe the problem this PR fixes and a summary of the changes made.
3+
Link to any relevant issues, code snippets, or other PRs.
4+
5+
For trivial changes, this template can be ignored in favor of a short description of the changes.
6+
-->
7+
8+
## Problem
9+
10+
<!--
11+
Describe the issue this PR is solving
12+
-->
13+
14+
**Issue number, if available:**
15+
16+
## Changes
17+
18+
<!--
19+
Summarize the changes introduced in this PR. This is a good place to call out critical or potentially problematic parts of the change.
20+
-->
21+
22+
**Corresponding docs PR, if applicable:**
23+
24+
## Validation
25+
26+
<!--
27+
Describe how changes in this PR have been validated. This may include added or updated unit, integration and/or E2E tests, test workflow runs, or manual verification. If manual verification is the only way changes in this PR have been validated, you will need to write some automated tests before this PR is ready to merge.
28+
29+
For changes to test infra, or non-functional changes, tests are not always required. Instead, you should call out _why_ you think tests are not required here.
30+
31+
If changes affect a GitHub workflow that is not included in the PR checks, include a link to a passing test run of the modified workflow.
32+
--->
33+
34+
## Checklist
35+
36+
<!--
37+
These items must be completed before a PR is ready to be merged.
38+
Feel free to publish a draft PR before these items are complete.
39+
-->
40+
41+
- [ ] If this PR includes a functional change to the runtime or type-level behavior of the code, I have added or updated automated test coverage for this change. (see [Testing Strategy README](../TESTING-STRATEGY.md))
42+
- [ ] If this PR requires a docs update, I have linked to that docs PR above.
43+
44+
_By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license._

0 commit comments

Comments
 (0)